DelegatingEventSink<T> constructor Null safety

DelegatingEventSink<T>(
  1. EventSink<T> sink
)

Create a delegating sink forwarding calls to sink.

Implementation

DelegatingEventSink(EventSink<T> sink) : _sink = sink;