stream property Null safety

Stream<T> stream

The stream of this completer.

This stream is always a single-subscription stream.

When a source stream is provided, its events will be forwarded to listeners on this stream.

The stream can be listened either before or after a source stream is set.

Implementation

Stream<T> get stream => _stream;