TencentSdkResp class
- Implementers
- Annotations
-
- @JsonSerializable(explicitToJson: true, fieldRename: FieldRename.snake)
Constructors
- TencentSdkResp({required int ret, String? msg})
-
const
-
TencentSdkResp.fromJson(Map<
String, dynamic> json) -
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- isCancelled → bool
-
no setter
- isSuccessful → bool
-
no setter
- msg → String?
-
final
- ret → int
-
final
- 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
Constants
- RET_COMMON → const int
- RET_FAILED → const int
- 网络异常,或服务器返回的数据格式不正确导致无法解析
- RET_SUCCESS → const int
- 网络请求成功发送至服务器,并且服务器返回数据格式正确 这里包括所请求业务操作失败的情况,例如没有授权等原因导致
- RET_USERCANCEL → const int