Debouncer constructor
Debouncer({
- required Duration delay,
- required void action(),
Constructs a Debouncer instance with the specified delay and action.
delay
is the amount of time to wait before executing the action.
action
is the function that will be executed after the delay.
Implementation
Debouncer({
required this.delay,
required this.action,
});