auth method
Future<void>
auth({
- required String appKey,
- required List<
String> scope, - String redirectUrl = WeiboRegister.DEFAULT_REDIRECTURL,
override
登录
Implementation
@override
Future<void> auth({
required String appKey,
required List<String> scope,
String redirectUrl = WeiboRegister.DEFAULT_REDIRECTURL,
}) {
return methodChannel.invokeMethod<void>(
'auth',
<String, dynamic>{
'appKey': appKey,
'scope': scope.join(','),
'redirectUrl': redirectUrl,
},
);
}