resetTimer method
void
resetTimer()
Reset the timer to its original duration
Implementation
void resetTimer() {
if (_totalDuration.isZero) return;
_timer?.cancel();
_remaining = _totalDuration;
_isRunning = false;
_isPaused = false;
_isFinished = false;
_clearError();
_onResetCallback?.call();
HapticFeedback.forCountdownReset();
if (_config?.autoStart == true) {
_startTimerInternal();
}
notifyListeners();
}