onClose method

void onClose()

Close instance, after call onClose shake detector cannot be open GitsInspectorPage.

Implementation

void onClose() {
  _shakeDetector?.stopListening();
}