ResourceToken class

ResourceToken

Implemented types

Constructors

ResourceToken.new({required String $id, required String $createdAt, required String resourceId, required String resourceType, required String expire, required String secret, required String accessedAt})
ResourceToken.fromMap(Map<String, dynamic> map)
factory

Properties

$createdAt String
Token creation date in ISO 8601 format.
final
$id String
Token ID.
final
accessedAt String
Most recent access date in ISO 8601 format. This attribute is only updated again after 24 hours.
final
expire String
Token expiration date in ISO 8601 format.
final
hashCode int
The hash code for this object.
no setterinherited
resourceId String
Resource ID.
final
resourceType String
Resource type.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
secret String
JWT encoded string.
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