RetryConfig constructor
const
RetryConfig({})
Implementation
const RetryConfig({
this.maxRetries = 3,
this.baseDelay = const Duration(milliseconds: 500),
this.maxDelay = const Duration(seconds: 16),
this.retryableStatusCodes = const {429, 502, 503, 504},
this.enabled = true,
});