whereKeys method

Map<K, V> whereKeys(
  1. bool test(
    1. K key
    )
)

Returns a new Map containing all entries that satisfy test.

The new Map preserves the entry iteration order of the this Map.

Implementation

Map<K, V> whereKeys(bool Function(K key) test) =>
    MyUtilityExtensionWhere(this).where((key, _) => test(key));