Jwt class
Constructors
- Jwt.new({required JwtHeader header, required JwtPayload payload})
-
const
- Jwt.deserialize(String jwt)
-
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- header → JwtHeader
-
final
- payload → JwtPayload
-
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
-
serialize(
) → String -
sign(
{required List< int> key, JwtSupportedAlgorithm? alg}) → String -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited