onPause method
Callback when this executor is paused. Returns true if successfully paused, false otherwise.
Implementation
@override
@mustCallSuper
Future<bool> onPause() async {
timer?.cancel();
return true;
}
Callback when this executor is paused. Returns true if successfully paused, false otherwise.
@override
@mustCallSuper
Future<bool> onPause() async {
timer?.cancel();
return true;
}