setOAuthScopes static method

dynamic setOAuthScopes(
  1. List<String> scopes
)

Set the list of scopes to be requested using scopes. Set it before calling getAuthorizationCode

Implementation

static setOAuthScopes(List<String> scopes) async =>
    await _methodChannel.invokeMethod('setOAuthScopes', {"scopes": scopes});