stop method

void stop()

Stop the interval timer.

Implementation

void stop() {
  _timer?.cancel();
  _timer = null;
  _tick = 0;
}