ControllerCallback onListen

The callback which is called when the stream is listened to.

May be set to null, in which case no callback will happen.

Source

ControllerCallback get onListen => null;
void onListen=(void onListenHandler())

Source

void set onListen(void onListenHandler()) {
  throw('BroadcastStreamController.onListen not implemented');
}