flatten method

Stream<T> flatten()

Flattens a Stream of Iterable values of type T to a Stream of values of type T.

Implementation

Stream<T> flatten() => expand((values) => values);