all method

bool all(
  1. EntryPredicate<K, V> test
)

Returns true if all entries match the given predicate test.

Also returns true if the receiver is null or empty.

Implementation

bool all(EntryPredicate<K, V> test) =>
    this?.entries.all((e) => test(e.key, e.value)) ?? true;