removeWhere method

  1. @override
void removeWhere(
  1. bool test(
    1. T element
    )
)
override

Removes all objects from this list that satisfy test. Listeners are notified after all objects have been removed.

An object o satisfies test if test(o) is true.

Implementation

@override
void removeWhere(bool Function(T element) test) {
  assert(_debugAssertNotDisposed());
  _list!.removeWhere(test);
  notifyListeners();
}