copyWith method
Creates a copy of this Debounce with the given fields replaced
Example:
final newDebounce = debounce.copyWith(delay: Duration(milliseconds: 500));
Implementation
Debounce copyWith({Duration? delay}) {
return Debounce(delay ?? this.delay);
}