Returns a new Map containing all key-value pairs passing the given test.
test
Map<K, V> where(bool Function(MapEntry<K, V> entry) test) => Map.fromEntries(entries.where((entry) => test(entry)));