every method

bool every(
  1. bool test(
    1. K key,
    2. V value
    )
)

Checks whether every entry of this map satisfies test.

Iterable.every

Implementation

bool every(bool Function(K key, V value) test) {
  return entries.every((entry) => test(entry.key, entry.value));
}