WechatAccessTokenResp class
- Inheritance
-
- Object
- WechatAPIResp
- WechatAccessTokenResp
Constructors
Properties
- accessToken → String?
-
final
- errorCode → int
-
-1 系统繁忙,此时请开发者稍候再试
0 请求成功
40001 AppSecret 错误或者 AppSecret 不属于这个公众号,请开发者确认 AppSecret 的正确性
40002 请确保 grant_type 字段值为 client_credential
40164 调用接口的 IP 地址不在白名单中,请在接口 IP 白名单中进行设置。(小程序及小游戏调用不要求 IP 地址在白名单内。)
finalinherited
- errorMsg → String?
-
finalinherited
- expiresIn → int?
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- isSuccessful → bool
-
no setterinherited
- openid → String?
-
final
- refreshToken → String?
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- scope → String?
-
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited