WechatAPIResp class abstract

Base WeChat API response model.

Implementers

Constructors

WechatAPIResp({required int errorCode, String? errorMsg})
const

Properties

errorCode int
-1 系统繁忙,此时请开发者稍候再试 0 请求成功 40001 AppSecret 错误或者 AppSecret 不属于这个公众号,请开发者确认 AppSecret 的正确性 40002 请确保 grant_type 字段值为 client_credential 40164 调用接口的 IP 地址不在白名单中,请在接口 IP 白名单中进行设置。(小程序及小游戏调用不要求 IP 地址在白名单内。)
final
errorMsg String?
final
hashCode int
The hash code for this object.
no setterinherited
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

errorCodeSuccess → const int
成功