updateRetryConfig method

void updateRetryConfig({
  1. bool? enableRetry,
  2. int? retryCount,
  3. Duration? retryDelay,
  4. bool? exponentialBackoff,
})

Update retry configuration

Implementation

void updateRetryConfig({
  bool? enableRetry,
  int? retryCount,
  Duration? retryDelay,
  bool? exponentialBackoff,
}) {
  if (enableRetry != null) _enableRetry = enableRetry;
  if (retryCount != null) _retryCount = retryCount;
  if (retryDelay != null) _retryDelay = retryDelay;
  if (exponentialBackoff != null) _exponentialBackoff = exponentialBackoff;
}