dispose method
void
dispose()
Cancels any pending wait and resets the debouncer. The pending onWaited callbacks are dropped (use finalize to flush them instead). The instance can still be reused after dispose.
Implementation
void dispose() {
cancel();
_hasStarted = false;
}