toRetryStrategy method

RetryOptions toRetryStrategy()

Implementation

RetryOptions toRetryStrategy() {
  return RetryOptions(
      exponentialBase: exponentialBase,
      retryInterval: Duration(milliseconds: retryInterval),
      maxDelay: Duration(milliseconds: maxRetryDelay),
      maxTime: Duration(milliseconds: maxRetryTime),
      maxRetries: maxRetries,
      retryJitter: Duration(milliseconds: retryJitter));
}