reset method

  1. @override
void reset()
override

Resets the elapsed count to zero.

This method does not stop or start the Stopwatch.

Implementation

@override
void reset() {
  if (_start == null) return;
  _start = _now();
  if (_stop != null) {
    _stop = _start;
  }
}