copyWith method
Implementation
SmartSearchConfig copyWith({
Duration? debounceDelay,
int? minSearchLength,
bool? searchOnEmpty,
bool? clearOnClose,
bool? autoFocus,
}) {
return SmartSearchConfig(
debounceDelay: debounceDelay ?? this.debounceDelay,
minSearchLength: minSearchLength ?? this.minSearchLength,
searchOnEmpty: searchOnEmpty ?? this.searchOnEmpty,
clearOnClose: clearOnClose ?? this.clearOnClose,
autoFocus: autoFocus ?? this.autoFocus,
);
}