Skip to content

ILazyListNestedOps<A>

extension ILazyListNestedOps<A> on ILazyList<ILazyList<A>>

Methods

flatten() extension

ILazyList<A> flatten()

Combines all nested lazy lists into one using concatenation.

Available on ILazyList<A>, provided by the ILazyListNestedOps<A> extension

Implementation
dart
ILazyList<A> flatten() => flatMap(identity);