setRetryIf method
Set if the request should shouldRetry
if the retryIf
returns true.
Implementation
void setRetryIf(bool Function(DioException dioException) retryIf) {
this.retryIf = retryIf;
}
Set if the request should shouldRetry
if the retryIf
returns true.
void setRetryIf(bool Function(DioException dioException) retryIf) {
this.retryIf = retryIf;
}