cancel method

void cancel()

Cancels any pending throttle and resets the state.

Implementation

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