onListen abstract method

void onListen(
  1. Object? arguments,
  2. MockStreamHandlerEventSink events
)

Handler for the listen event.

Implementation

void onListen(Object? arguments, MockStreamHandlerEventSink events);