reset method

void reset()

Stops and returns to zero, for a new run.

Implementation

void reset() {
  if (!isRunning && _accumulated == Duration.zero) return;
  _accumulated = Duration.zero;
  _startedAt = null;
  notifyListeners();
}