whereIndexed method

Iterable<T> whereIndexed(
  1. IndexedPredicate<T> predicate
)

Will retrun new Iterable with all elements that satisfy the predicate predicate,

Implementation

Iterable<T> whereIndexed(IndexedPredicate<T> predicate) =>
    _IndexedWhereIterable(this, predicate);