concatMapWithIndex<B> method
Apply f
to each element of the Iterable using the index
and flat the result using concat
.
Same as bindWithIndex
and flatMapWithIndex
.
Implementation
Iterable<B> concatMapWithIndex<B>(Iterable<B> Function(T t, int index) f) =>
mapWithIndex(f).concat;