removeWhere method

void removeWhere(
  1. bool test(
    1. Node element
    )
)
override

Remove all the child nodes from the children that match the criterion in the provided test

Implementation

void removeWhere(bool Function(Node element) test) {
  children.removeWhere((key, value) => test(value));
}