none method

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

Returns true if no element of this satisfies test.

Example:

[1, 2, 3].none((e) => e > 4); // true
[1, 2, 3].none((e) => e > 2); // false

Implementation

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