whereKey method

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

Implementation

Map<K, V> whereKey(bool Function(K key) predicate) {
	Iterable<MapEntry<K, V>> iter = this.entries.where((MapEntry<K, V> kvp) => predicate(kvp.key));
	return iter.asMap();
}