copyWith method

RetryOptions copyWith({
  1. int? retries,
  2. Duration? retryInterval,
})

Implementation

RetryOptions copyWith({
  int? retries,
  Duration? retryInterval,
}) =>
    RetryOptions(
      retries: retries ?? this.retries,
      retryInterval: retryInterval ?? this.retryInterval,
    );