stop method

void stop()

Pauses measuring and keeps the time measured so far.

Implementation

void stop() {
  final startedAt = _startedAt;
  if (startedAt == null) return;
  _accumulated += _now() - startedAt;
  _startedAt = null;
  notifyListeners();
}