hardRemoveWhere method
Removes all key-value pairs from the map that satisfy the predicate where and notifies listeners.
where: A function that returnstruefor elements to remove.
Implementation
void hardRemoveWhere(bool Function(K key, V value) where) {
value.removeWhere(where);
notify();
}