FlutterWechatLoginPlatform class abstract

Inheritance
  • Object
  • PlatformInterface
  • FlutterWechatLoginPlatform
Implementers

Constructors

FlutterWechatLoginPlatform()
Constructs a FlutterWechatLoginPlatform.

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

checkToken({required String accessToken, required String openid}) Future<String?>
Check access_token validity
getAccessToken({required String code}) Future<String?>
Exchange code for access_token, refresh_token and authorized scope
getUserInfo({required String accessToken, required String openid}) Future<String?>
Get WeChat user info
init({required String appId, required String secret, String? universalLink}) Future<void>
init wechat plugin
isInstalled() Future<bool>
check wechat app is installed
login() Future<String?>
WeChat app authorized login
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
refreshToken({required String refreshToken}) Future<String?>
Refresh or renew access_token
toString() String
A string representation of this object.
inherited

Operators

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

Static Properties

instance FlutterWechatLoginPlatform
The default instance of FlutterWechatLoginPlatform to use.
getter/setter pair