pause method
void
pause()
Pauses the timer.
Throws an assertion error if endTime is not null.
Implementation
void pause() {
assert(endTime == null, 'endTime must be null to pause');
debugPrint('CountTimerController start Duration: ${_duration.inSeconds}');
_timer?.cancel();
_pause = _duration;
}