stop method

void stop()

Implementation

void stop() {
  _isCollecting = false;
  _accelerometerSubscription?.cancel();
}