stopSOS method
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;
}
Stops SOS mode by canceling the SOS timer and disabling the torch.
Future<void> stopSOS() async {
_sosTimer?.cancel();
_sosTimer = null;
await TorchFlashlight.disableTorchFlashlight();
_isEnabled = false;
}