removeWhere method

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

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

Implementation

@override
void removeWhere(bool Function(K key, V value) test) {
  super.value.removeWhere((key, value) {
    if (!test(key, value)) {
      return false;
    }
    if (notifyOnChangeMap) {
      notifyListeners();
    }
    return true;
  });
}