MockStreamHandlerEventSink constructor

MockStreamHandlerEventSink(
  1. EventSink<Object?> sink
)

Create a new MockStreamHandlerEventSink with the given sink.

Implementation

MockStreamHandlerEventSink(EventSink<Object?> sink) : _sink = sink;