removeWhere method Null safety

  1. @override
void removeWhere(
  1. bool predicate(
    1. K key,
    2. V value
    )
)

Removes all entries of this map that satisfy the given test.

Implementation

@override
void removeWhere(bool predicate(K key, V value)) {
  _values.removeWhere(predicate);
  notifyListeners();
}