stop method
void
stop()
Implementation
void stop() {
if (_timer?.isActive ?? false) {
_timer?.cancel();
}
_timer = null;
}
void stop() {
if (_timer?.isActive ?? false) {
_timer?.cancel();
}
_timer = null;
}