stopGyroTracking method

void stopGyroTracking()

Stops listening to gyroscope data and resets the tracker.

Implementation

void stopGyroTracking() {
  _gyroSubscription?.cancel();
  _gyroSubscription = null;
  _liveAngleTracker.reset();
}