onRepeatEvent abstract method
Called based on the eventAction set in ForegroundTaskOptions.
- .nothing() : Not use onRepeatEvent callback.
- .once() : Call onRepeatEvent only once.
- .repeat(interval) : Call onRepeatEvent at milliseconds interval.
Implementation
void onRepeatEvent(DateTime timestamp);