nextDelay method

  1. @override
Duration nextDelay(
  1. int attempt
)
override

Implementation

@override
Duration nextDelay(int attempt) {
  if (attempt <= 0) return Duration.zero;
  return Duration(milliseconds: baseMillis);
}