cancelTimer method

void cancelTimer()

Implementation

void cancelTimer() => _timer?.cancel();