Debounce constructor

Debounce(
  1. Duration delay
)

Creates a debounce instance with the specified delay duration.

The delay parameter specifies the duration to wait before executing the debounced function.

Example Usage:

// Create a debounce instance with a 500 milliseconds delay.
final debounce = Debounce(Duration(milliseconds: 500));

Implementation

Debounce(
  this.delay,
);