reset method
void
reset()
Resets the throttler, canceling any pending action and timer.
Use this method to clear the current state of the throttler, ensuring no pending actions are executed.
Implementation
void reset() {
_action = null;
_timer?.cancel();
_timer = null;
}