TokenOrigin enum

TokenOriginrepresents the possible origins of a token. It has several possible values such as 'SYNERISE', 'FACEBOOK', 'GOOGLE', etc.

Inheritance
Available extensions

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 fromString method is a static method of the TokenOrigin enum. It takes a String parameter called string and returns a TokenOrigin value based on the input string.

Constants

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