stop method
void
stop()
Stops the sleep timer.
Implementation
void stop() {
isRunning = false;
_prediction?.cancel();
_timer?.cancel();
}
Stops the sleep timer.
void stop() {
isRunning = false;
_prediction?.cancel();
_timer?.cancel();
}