removeWhere method
Implementation
void removeWhere(bool Function(T) where, [bool iterator = false]) {
if (!iterator) {
_childrenList.removeWhere(where);
return;
}
List<T> nodeList = [this as T];
while (nodeList.isNotEmpty) {
T first = nodeList.removeAt(0);
first._childrenList.removeWhere(where);
nodeList.addAll(first._childrenList);
}
}