cancelDelayed method

void cancelDelayed()

Cancels any scheduled action.

Implementation

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