stop method

void stop()

Stop tracking.

Implementation

void stop() {
  _isTracking = false;
  _stateTimer?.cancel();
  _stateTimer = null;
  notifyListeners();
}