cancelTimer method

void cancelTimer()

Implementation

void cancelTimer() {
  Log(tag).i("Timer $_currentSeconds seconds pass. Cancelled.");
  timer?.cancel();
  timer = null;
}