menu
smart_dio package
documentation
http/pipeline/context.dart
RequestContext
consumeErrorCode method
consumeErrorCode method
dark_mode
light_mode
consumeErrorCode
method
bool
consumeErrorCode
(
String
code
)
标记错误码已消费,返回是否首次标记成功。
Implementation
bool consumeErrorCode(String code) => consumedErrorCodes.add(code);
smart_dio package
documentation
http/pipeline/context
RequestContext
consumeErrorCode method
RequestContext class