onResume method
Callback when this executor is resumed. Returns true if successfully resumed, false otherwise.
Implementation
@override
Future<bool> onResume() async {
timer = Timer.periodic(configuration!.period, (_) => onTrigger());
return true;
}