Skip to content

PullFlattenOps<O, R>

extensionPullFlattenOps<O, R>onPull<O,Pull<O,R>>

Flattening operation for a Pull whose result is itself a Pull.

Methods

flatten() extension

Pull<O,R>flatten()

Sequences the inner pull after the outer, merging their outputs.

Available on Pull<O, R>, provided by the PullFlattenOps<O, R> extension

Implementation
dart
Pull<O, R> flatten() => flatMap(identity);