resetTimer method

void resetTimer()

It resets the timer to 0.

Implementation

void resetTimer() {
  _time = 0;
  notifyListeners();
}