scopes property

List<String> scopes

Save the scopes that we were granted access to in the last authorization.

Returns an empty list if no authorization has take place yet.

Implementation

List<String> get scopes {
  final String? value = _store.get(_getKey(_kScopeKey));
  if (value == null || value.isEmpty) {
    return <String>[];
  }

  return value.split(' ');
}
void scopes=(List<String> value)

Implementation

set scopes(List<String> value) {
  _setValue(_kScopeKey, value.join(' '));
}