whereNotIndexed method
Returns all elements not matching the given predicate
.
Implementation
Iterable<E> whereNotIndexed(
bool Function(E element, int index) predicate) sync* {
var index = 0;
for (var element in this) {
if (!predicate(element, index++)) {
yield element;
}
}
}