cancel method
void
cancel()
Cancels any pending action and resets timers.
Throws a StateError if the debouncer has been disposed.
Implementation
void cancel() {
_ensureNotDisposed();
_cancelTimers();
_lastAction = null;
_logDebug('Cancelled scheduled action.');
_publishState();
}