DDT class
Constructors
- DDT.new()
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
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
-
generateToken(
dynamic payload, {int? seconds, String? key}) → Future< String?> - Generates an encrypted token with an optional expiration time.
-
isTokenExpired(
String? token, {String? key}) → Future< bool> - Checks if a token is expired.
-
verifyToken(
String? token, {String? key}) → Future< Token> - Verifies an encrypted token and checks its expiration status.