MethodChannelDy class
An implementation of DyPlatform that uses method channels.
- Inheritance
-
- Object
- PlatformInterface
- DyPlatform
- MethodChannelDy
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- methodChannel → MethodChannel
-
The method channel used to interact with the native platform.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
addDyCallbackListener(
DyCallBackListener callBackListener) → void -
增加回调
override
-
getClientToken(
) → Future< String?> -
生成 client_token
override
-
getPlatformVersion(
) → Future< String?> -
override
-
initKey(
String clientKey, String clientSecret) → Future< String?> -
初始化key
override
-
loginInWithDouyin(
String scope) → Future< String?> -
登录
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
reNewAccessToken(
String refreshToken) → Future< String?> -
刷新AccessToken
override
-
reNewRefreshToken(
String refreshToken) → Future< String?> -
刷新refreshToken
override
-
分享去编辑页面
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited