stop method

void stop()

Stops the repeating timer.

Implementation

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