pause method
void
pause()
--pause Pauses the visible progression of the timer while maintaining its internal state. --The timer continues to track its remaining duration internally, even while paused.
Implementation
void pause() {
timer.cancel();
/// listener `statusListener`
if (statusListener != null) {
statusListener!(AppTimerStatus.pause);
}
}