canAccessScopes method
Checks if the current user has granted access to all the specified scopes
.
Optionally, an accessToken
can be passed for applications where a
long-lived token may be cached (like the web).
Implementation
@override
Future<bool> canAccessScopes(List<String> scopes,
{String? accessToken}) async {
await initialized;
return _gisClient.canAccessScopes(scopes, accessToken);
}