none method
Returns true
if none of the elements in this Iterable match predicate
.
Implementation
bool none(bool Function(T) predicate) {
for (final element in this) {
if (predicate(element)) {
return false;
}
}
return true;
}