getRetrySeconds method

  1. @override
int getRetrySeconds(
  1. Exception error
)
override

Implementation

@override
int getRetrySeconds(Exception error) {
  return min(_maxRetryTime, _baseRetryTime * pow(2.0, _retryCount++)).toInt();
}