removeWhere method
Returns a new map containing the current map minus the entries that
satisfy the given predicate
. However, if nothing is removed, it will
return the current map (same instance).
Implementation
IMap<K, V> removeWhere(bool Function(K key, V value) predicate) {
M<K, V> result = _m.removeWhere(predicate);
return identical(result, _m) ? this : IMap<K, V>._unsafe(result, config: config);
}