whereValues method

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

Implementation

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