whereKeys method

Map<K, V> whereKeys(
  1. bool predicate(
    1. K v
    )
)

Implementation

Map<K, V> whereKeys(bool predicate(K v)) {
  return Map.fromEntries(entries.where((e) => predicate(e.key)));
}