filterValues<K, V> function
Implementation
Map<K, V> filterValues<K, V>(Map<K, V> source, bool filter(V value)) =>
source.entries
.where((e) => filter(e.value))
.toList()
.asMap()
.map((_, e) => e);