auth method

  1. @override
Future<void> auth({
  1. required String appKey,
  2. required List<String> scope,
  3. 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,
    },
  );
}