stopSOS method

Future<void> stopSOS()

Stops SOS mode by canceling the SOS timer and disabling the torch.

Implementation

Future<void> stopSOS() async {
  _sosTimer?.cancel();
  _sosTimer = null;
  await TorchFlashlight.disableTorchFlashlight();
  _isEnabled = false;
}