stopTimer method

void stopTimer()

Implementation

void stopTimer() {
  if (_timer == null) {
    return;
  }

  _timer!.cancel();
}