DefaultRetryPolicy constructor

DefaultRetryPolicy({
  1. List<int>? retryDelays,
})

Implementation

DefaultRetryPolicy({List<int>? retryDelays}) {
  _retryDelays = retryDelays != null
      ? [...retryDelays, null]
      : DEFAULT_RETRY_DELAYS_IN_MILLISECONDS;
}