ScopeValue enum

Enum for the differents values of a scope

Inheritance
Available extensions

Values

openid → const ScopeValue

Used to ask for an ID token. If no ID token exists, this is not returned.

const ScopeValue('openid')
address → const ScopeValue

Accesses geographical information (postal address, region, geolocation, etc.).

const ScopeValue('address')
email → const ScopeValue

Accesses email information (email addresses and their verification statuses).

const ScopeValue('email')
phone → const ScopeValue

Access to phone information (phone numbers and their verification statuses).

const ScopeValue('phone')
offlineAccess → const ScopeValue

Allows right to request refresh tokens.

const ScopeValue('offline_access')
profile → const ScopeValue

Accesses user’s personal information (gender, age, profile picture, etc.).

const ScopeValue('profile')
fullWrite → const ScopeValue

Allows the privilege to update anything on the user’s profile.

const ScopeValue('full_write')
events → const ScopeValue

Allows access to user events.

const ScopeValue('events')

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
name String
Name of the enum scope value
final
name String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

values → const List<ScopeValue>
A constant List of the values in this enum, in order of their declaration.