removeChildren function
Implementation
Future<void> removeChildren(WidgetModel model, List<dynamic> arguments) async {
// dispose of all children
model.children?.forEach((child) => child.dispose());
model.children?.clear();
}
Future<void> removeChildren(WidgetModel model, List<dynamic> arguments) async {
// dispose of all children
model.children?.forEach((child) => child.dispose());
model.children?.clear();
}