cancel method

void cancel()

Cancels the timer.

Implementation

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