in lib/http_retry.dart [53:61]
bool Function(BaseResponse) when = _defaultWhen,
bool Function(Object, StackTrace) whenError = _defaultWhenError,
Duration Function(int retryCount) delay = _defaultDelay,
void Function(BaseRequest, BaseResponse?, int retryCount)? onRetry,
}) : _retries = retries,
_when = when,
_whenError = whenError,
_delay = delay,
_onRetry = onRetry {