Returns a copy with entries that satisfy test.
test
Map<K, V> whereEntries(bool Function(K key, V value) test) { return Map<K, V>.fromEntries( entries.where((entry) => test(entry.key, entry.value)), ); }