RawHttpResponse class

原始 HTTP 响应(包内封装,不暴露底层实现) 解析器仅依赖此类型,调用方无需依赖 Dio

Constructors

RawHttpResponse({required int? statusCode, required dynamic data, required String path})
const

Properties

data → dynamic
响应体
final
hashCode int
The hash code for this object.
no setterinherited
path String
请求路径(用于 PathBasedResponseParser 等按路径选择解析器)
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
statusCode int?
HTTP 状态码
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited