DelegatingSink<T> constructor Null safety

DelegatingSink<T>(
  1. Sink<T> sink
)

Create a delegating sink forwarding calls to sink.

Implementation

DelegatingSink(Sink<T> sink) : _sink = sink;