defaultFetchStrategy static method
The default strategy: 3 attempts, exponential backoff (starting at 100 ms, ×1.5 each retry, ±25% jitter), transient status codes only.
A static method tear-off so it can be used as a const default value.
Implementation
static Future<FetchInstructions?> defaultFetchStrategy(
Uri uri,
FetchFailure? failure,
) {
return const FetchStrategyBuilder().build()(uri, failure);
}