StreamSink<T> sink

Returns a view of this object that only exposes the StreamSink interface.

Source

StreamSink<T> get sink => _controller.sink;