ConcatStream<T> constructor Null safety

ConcatStream<T>(
  1. Iterable<Stream<T>> streams
)

Constructs a Stream which emits all events from streams. The Iterable is traversed upwards, meaning that the current first Stream in the Iterable needs to complete, before events from the next Stream will be subscribed to.

Implementation

ConcatStream(Iterable<Stream<T>> streams)
    : _controller = _buildController(streams);