JWK class sealed
- Available extensions
- Annotations
-
- @freezed
Constructors
Properties
-
copyWith
→ $JWKCopyWith<
JWK> -
Create a copy of JWK
with the given fields replaced by the non-null parameter values.
no setterinherited
- expiresAt → int
-
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- publicKey → PublicKey
-
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
expirationDate(
) → DateTime -
Available on JWK, provided by the JWKExtension extension
-
isExpired(
) → bool -
Available on JWK, provided by the JWKExtension extension
-
map<
TResult extends Object?> (TResult $default(_JWK value)) → TResult -
Available on JWK, provided by the JWKPatterns extension
Aswitch
-like method, using callbacks. -
mapOrNull<
TResult extends Object?> (TResult? $default(_JWK value)?) → TResult? -
Available on JWK, provided by the JWKPatterns extension
A variant ofmap
that fallback to returningnull
. -
maybeMap<
TResult extends Object?> (TResult $default(_JWK value)?, {required TResult orElse()}) → TResult -
Available on JWK, provided by the JWKPatterns extension
A variant ofmap
that fallback to returningorElse
. -
maybeWhen<
TResult extends Object?> (TResult $default(PublicKey publicKey, int expiresAt)?, {required TResult orElse()}) → TResult -
Available on JWK, provided by the JWKPatterns extension
A variant ofwhen
that fallback to anorElse
callback. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toBytes(
) → Uint8List -
Available on JWK, provided by the JWKExtension extension
-
toJson(
) → Map< String, dynamic> -
Serializes this JWK to a JSON map.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
when<
TResult extends Object?> (TResult $default(PublicKey publicKey, int expiresAt)) → TResult -
Available on JWK, provided by the JWKPatterns extension
Aswitch
-like method, using callbacks. -
whenOrNull<
TResult extends Object?> (TResult? $default(PublicKey publicKey, int expiresAt)?) → TResult? -
Available on JWK, provided by the JWKPatterns extension
A variant ofwhen
that fallback to returningnull
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited