Map<K, V> where(bool Function(K, V) test) => entries.where((element) => test(element.key, element.value)).toMap();