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