where method

IMap<K, V> where(
  1. bool test(
    1. K key,
    2. V value
    )
)

Returns an IMap with all elements that satisfy the predicate test.

Implementation

IMap<K, V> where(bool Function(K key, V value) test) =>
    IMap<K, V>._(_m.where(test), config: config);