WechatResp class abstract
Constructors
- WechatResp({required int errorCode, String? errorMsg})
-
const
Properties
- errorCode → int
-
错误码
final
- errorMsg → String?
-
错误提示字符串
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- isCancelled → bool
-
no setter
- isSuccessful → bool
-
no setter
- 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.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
- kErrorCodeAuthDeny → const int
- 授权失败
- kErrorCodeCommon → const int
- 普通错误类型
- kErrorCodeSentFail → const int
- 发送失败
- kErrorCodeSuccess → const int
- 成功
- kErrorCodeUnsupport → const int
- 微信不支持
- kErrorCodeUserCancel → const int
- 用户点击取消并返回