Remove all the child nodes from the children that match the criterion in the provided test
test
void removeWhere(bool Function(Node element) test) { children.removeWhere((key, value) => test(value)); }