Token class

Constructors

Token()
Token.fromJson(Map<String, dynamic> json)
factory

Properties

accessToken String
read / write
expireOffSet int
final
expiresIn int
read / write
expireTimeStamp DateTime
read / write
issueTimeStamp DateTime
read / write
refreshToken String
read / write
tokenType String
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

toMap() Map
toString() String
Returns a string representation of this object.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited

Operators

operator ==(dynamic other) bool
The equality operator. [...]
inherited

Static Methods

fromMap(Map map) Token
isExpired(Token token) bool
toJsonMap(Token model) Map
tokenIsValid(Token token) bool