none method

bool none(
  1. bool test(
    1. E element
    )
)

Returns true if no element satisfies test.

The logical complement of Iterable.any.

Example:

[1, 2, 3].none((n) => n > 5); // true

Implementation

bool none(bool Function(E element) test) => !any(test);