WechatLoginResponse class

此插件调用微信登录的最终返回结果

Constructors

WechatLoginResponse({required WechatLoginErrorCode errorCode, WechatResponse? response})

Properties

errorCode WechatLoginErrorCode
错误代码 可通过代码获取具体的错误值以及错误信息 例如 WechatLoginErrorCode.userCancel.errorCode -> -2 WechatLoginErrorCode.userCancel.errorMsg -> "用户取消"
final
hashCode int
The hash code for this object.
no setterinherited
response WechatResponse?
微信返回的结果,当错误代码不为-1时值为null
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
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited