stream property

Stream<T> get stream

Helper method to make it easy to replace this class with Dart's stream controller.

Implementation

Stream<T> get stream => this;