whereNot method

Map<K, V> whereNot(
  1. bool test(
    1. MapEntry<K, V> entry
    )
)

Returns a new Map containing all key-value pairs not passing the given test.

Implementation

Map<K, V> whereNot(bool Function(MapEntry<K, V> entry) test) =>
    Map.fromEntries(entries.whereNot(test));