pauseTimer method

void pauseTimer()

Pause the current timer

Implementation

void pauseTimer() {
  if (!_isRunning || _isPaused) return;

  _timer?.cancel();
  _isPaused = true;
  _isRunning = false;

  _onPauseCallback?.call();
  HapticFeedback.forCountdownPause();

  notifyListeners();
}