bindWithIndex<B> method
For each element of the Iterable apply function f
with the index and flat the result.
Same as flatMapWithIndex
and concatMapWithIndex
.
Implementation
Iterable<B> bindWithIndex<B>(Iterable<B> Function(T t, int index) f) =>
concatMapWithIndex(f);