flatMap<B> method
For each element of the Iterable apply function toElements
and flat the result.
Equivalent to Iterable.expand
.
Implementation
Iterable<B> flatMap<B>(Iterable<B> Function(T t) toElements) =>
expand(toElements);