registerApp method
Future<void>
registerApp({
- required String appKey,
- required String? universalLink,
- required List<
String> scope, - String redirectUrl = WeiboRegister.DEFAULT_REDIRECTURL,
override
Implementation
@override
Future<void> registerApp({
required String appKey,
required String? universalLink,
required List<String> scope,
String redirectUrl = WeiboRegister.DEFAULT_REDIRECTURL,
}) {
assert(!Platform.isIOS || (universalLink?.isNotEmpty ?? false));
return methodChannel.invokeMethod<void>(
'registerApp',
<String, dynamic>{
'appKey': appKey,
'universalLink': universalLink,
'scope': scope.join(','),
'redirectUrl': redirectUrl,
},
);
}