stopApiPolling method
void
stopApiPolling()
Implementation
void stopApiPolling() {
if (timer != null) {
timer?.cancel();
timer = null;
}
}
void stopApiPolling() {
if (timer != null) {
timer?.cancel();
timer = null;
}
}