whereKey method

ImmortalMap<K, V> whereKey(
  1. bool predicate(
    1. K key
    )
)

Returns a copy of this map containing all entries with keys that satisfy the given predicate.

Implementation

ImmortalMap<K, V> whereKey(bool Function(K key) predicate) =>
    removeWhereKey(not(predicate));