none method

bool none({
  1. bool predicate(
    1. T
    )?,
})

Returns true if no elements match the given predicate.

Implementation

bool none({bool Function(T)? predicate}) =>
    predicate == null ? isEmpty : !any(predicate);