JWTData class
JWTData
is a class that contains the header, payload of a JWT.
By using the isExpired
, issuedAt
, and expiration
getters, you can
easily extract the calculated results for these properties.
Properties
- expiration → DateTime?
-
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
-
header
→ Map<
String, dynamic> -
final
- isExpired → bool?
-
no setter
- issuedAt → DateTime?
-
no setter
-
payload
→ Map<
String, dynamic> -
final
- 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