shouldRetry property

ShouldRetry? shouldRetry
final

基于 SmartError 的重试判断函数

如果设置,会将 DioException 转换为 SmartError 后调用此函数判断是否重试。 优先级低于 retryEvaluator

Implementation

final ShouldRetry? shouldRetry;