cancel method

void cancel()

Drops the waiting call.

Implementation

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