requestScopes method

  1. @override
Future<bool> requestScopes(
  1. List<String> scopes
)
override

Requests the user grants additional Oauth scopes.

Scopes should come from the full list here.

Implementation

@override
Future<bool> requestScopes(List<String> scopes) async {
  return (await channel.invokeMethod<bool>(
    'requestScopes',
    <String, List<String>>{'scopes': scopes},
  ))!;
}