stopShakeDetection static method

void stopShakeDetection()

Stop shake detection.

Implementation

static void stopShakeDetection() {
  _shakeDetector?.stopListening();
  _shakeDetector = null;
}