Token class

Token

Implemented types

Constructors

Token({required String $id, required String $createdAt, required String userId, required String secret, required String expire, required String phrase})
Token.fromMap(Map<String, dynamic> map)
factory

Properties

$createdAt String
Token creation date in ISO 8601 format.
final
$id String
Token ID.
final
expire String
Token expiration date in ISO 8601 format.
final
hashCode int
The hash code for this object.
no setterinherited
phrase String
Security phrase of a token. Empty if security phrase was not requested when creating a token. It includes randomly generated phrase which is also sent in the external resource such as email.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
secret String
Token secret key. This will return an empty string unless the response is returned using an API key or as part of a webhook payload.
final
userId String
User ID.
final

Methods

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

Operators

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