ZetaDebounce constructor
- void callback(), {
- Duration duration = _debounceDuration,
Constructs and starts the debouncer.
Implementation
factory ZetaDebounce(void Function() callback, {Duration duration = _debounceDuration}) {
return ZetaDebounce._(callback, duration)..debounce();
}