where method

Map<K, V> where(
  1. bool test(
    1. K,
    2. V
    )
)

Implementation

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