removeById method
void
removeById(
- dynamic id
Implementation
void removeById(dynamic id) {
if (_children.isEmpty) {
_items.removeWhere((item) => item.id == id);
}
for (var element in _children) {
element.removeById(id);
}
}