http/request/smart_request library
Classes
-
SmartRequest<
T> - 请求 DTO
Enums
- HttpMethod
- HTTP 请求方法枚举
Functions
-
listDecoder<
E> (E itemDecoder(Map< String, dynamic> ), {bool preFilter(dynamic raw)?, bool filter(E decoded)?}) → JsonDecoder<List< E> > - 构建列表解码器的辅助函数
Typedefs
-
BytesDecoder<
T> = T Function(Uint8List bytes) - 字节流解析器类型(用于 Protobuf 等二进制协议)
-
JsonDecoder<
T> = T Function(dynamic json) - JSON 解析器类型
-
RawResponseDecoder<
T> = T Function(Response response) - 原始响应解析器类型(完全自定义解析)