cancel method

void cancel ()
override

Cancels the timer.

Implementation

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