HttpResult class

http结果*

Constructors

HttpResult(int code, int statusCode, bool success, String msg, Headers? headers, Object? data, List<Object?>? dataList, dynamic result)

Properties

code int
结果码
getter/setter pair
data Object?
数据
getter/setter pair
dataList List<Object?>?
数据列表
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
headers ↔ Headers?
getter/setter pair
msg String
信息
getter/setter pair
result ↔ dynamic
返回对象
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
statusCode int
http状态码
getter/setter pair
success bool
http是否成功(200)
getter/setter pair

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