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;
Source
void set onListen(void onListenHandler()) { throw('BroadcastStreamController.onListen not implemented'); }