cancel method

dynamic cancel()

Cancels the timer.

Implementation

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