whereNotTo method
Appends all elements not matching the given predicate
to the given
destination
.
Implementation
void whereNotTo(List<E> destination, bool Function(E element) predicate) {
for (final element in this) {
if (!predicate(element)) {
destination.add(element);
}
}
}