TokenOrigin enum
TokenOriginrepresents the possible origins of a token. It has several possible
values such as 'SYNERISE', 'FACEBOOK', 'GOOGLE', etc.
Values
- synerise → const TokenOrigin
-
const TokenOrigin('SYNERISE') - facebook → const TokenOrigin
-
const TokenOrigin('FACEBOOK') - google → const TokenOrigin
-
const TokenOrigin('GOOGLE') - oauth → const TokenOrigin
-
const TokenOrigin('OAUTH') - apple → const TokenOrigin
-
const TokenOrigin('APPLE') - simpleAuth → const TokenOrigin
-
const TokenOrigin('SIMPLE_AUTH') - anonymous → const TokenOrigin
-
const TokenOrigin('ANONYMOUS') - unknown → const TokenOrigin
-
const TokenOrigin('UNKNOWN')
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- 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
- tokenOrigin → String
-
final
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
Static Methods
-
fromString(
String string) → TokenOrigin -
The
fromStringmethod is a static method of theTokenOriginenum. It takes aStringparameter calledstringand returns aTokenOriginvalue based on the input string.
Constants
-
values
→ const List<
TokenOrigin> - A constant List of the values in this enum, in order of their declaration.