reset method

void reset()

--this function reset the timer

Implementation

void reset() {
  timer.cancel();
  _isTimerStarted = true;
  _isTimerEnd = false;
  startTime = DateTime.now().add(listeningDelay ?? defaultDelay);
  _startAddingNumbers();

  /// listener `statusListener`
  if (statusListener != null) {
    statusListener!(AppTimerStatus.reset);
  }
}