onResume method
Callback for resuming probe
Implementation
Future onResume() async {
if (stream == null) {
warning(
"Trying to resume the stream probe '$runtimeType' which does not provide a Datum stream. "
'Have you initialized this probe correctly?');
} else {
marking();
subscription = stream!.listen(onData, onError: onError, onDone: onDone);
}
}