onResume method
Callback for resuming probe
Implementation
Future onResume() async {
marking();
Datum? datum;
try {
datum = await getDatum();
} catch (error) {
controller.addError(error);
}
if (datum != null) controller.add(datum);
mark();
}