copyWith method

Throttle copyWith({
  1. Duration? delay,
})

Creates a copy of this Throttle with the given fields replaced.

Implementation

Throttle copyWith({Duration? delay}) => Throttle(delay ?? this.delay);