copyWith method
Creates a copy of this Throttle with the given fields replaced
Example:
final newThrottle = throttle.copyWith(delay: Duration(milliseconds: 200));
Implementation
Throttle copyWith({Duration? delay}) {
return Throttle(delay ?? this.delay);
}