http/plugins/response_parser_plugin library
Classes
- ResponseKeyMap
- 响应 key 映射配置
- ResponseParserPlugin
- 响应解析插件
Constants
- kDecodedDataKey → const String
- 解码后数据存储 key (decoded data from fromJson/fromBytes/fromResponse)
- kParsedCodeKey → const String
- 解析后 code 存储 key
- kParsedDataKey → const String
- 解析后数据存储 key (raw data from ResponseParserPlugin)
- kParsedMessageKey → const String
- 解析后 message 存储 key
- kResponseKeyMapKey → const String
- 响应 key 映射常量
Typedefs
- BusinessSuccessChecker = bool Function(dynamic code)
- 业务成功判断器