onResume property

  1. @override
ControllerCallback get onResume
override

The callback which is called when the stream is resumed.

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

Pause related callbacks are not supported on broadcast stream controllers.

Implementation

@override
ControllerCallback get onResume =>
    throw UnsupportedError('Subjects do not support resume callbacks');
  1. @override
set onResume (void onResumeHandler()?)
override

The callback which is called when the stream is resumed.

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

Pause related callbacks are not supported on broadcast stream controllers.

Implementation

@override
set onResume(void Function()? onResumeHandler) =>
    throw UnsupportedError('Subjects do not support resume callbacks');