stop method

void stop()

Implementation

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