Debouncer constructor

Debouncer({
  1. Duration? delay,
})

Creates a new Debouncer with the specified delay.

The delay defines the duration for which to delay the execution of the provided action after the last call to the run method. It is required and must be a non-null Duration.

Implementation

Debouncer({this.delay});