HttpResponseData class
Constructors
- HttpResponseData({required String code, required String msg, dynamic data, String? psn, bool isSuccess = false})
-
HttpResponseData.fromJson(Map<
String, dynamic> json)
Properties
- code ↔ String
-
业务错误码
getter/setter pair
- data ↔ dynamic
-
业务响应数据
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- isSuccess ↔ bool
-
业务是否正常应答
getter/setter pair
- msg ↔ String
-
错误信息
getter/setter pair
- psn ↔ String?
-
接口PSN
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited