whereNot method Null safety
- Predicate<
E> test
Returns a new lazy Iterable with all elements that does NOT satisfy the predicate test.
Implementation
Iterable<E> whereNot(Predicate<E> test) =>
this?.where((e) => !test(e)) ?? Iterable.empty();