where method
Returns a new lazy Iterable with all entries that satisfy the predicate test
,
providing sequential index of the element.
Implementation
Iterable<MapEntry<K, V>> where(EntryPredicate<K, V> test) =>
this?.entries.where((e) => test(e.key, e.value)) ?? Iterable.empty();