NormalHttpConfig class

Http配置.

Constructors

NormalHttpConfig({String? status, String? code, String? msg, String? data, int? successcode})
constructor.

Properties

code String?
BaseResp int code字段 key, 默认:errorCode.
getter/setter pair
data String?
BaseResp T data字段 key, 默认:data.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
msg String?
BaseResp String msg字段 key, 默认:errorMsg.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
status String?
BaseResp String status字段 key, 默认:status.
getter/setter pair
successcode int?
判断请求成功的值
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