cancel method

void cancel()

Cancels the timer.

Implementation

void cancel() {
  _timer?.cancel();
}