DelegatingStreamSink<T> constructor Null safety

DelegatingStreamSink<T>(
  1. StreamSink<T> sink
)

Create delegating sink forwarding calls to sink.

Implementation

DelegatingStreamSink(StreamSink<T> sink) : _sink = sink;