copyWithWrapped method
Implementation
JWKPublicKey copyWithWrapped(
{Wrapped<String>? alg,
Wrapped<String>? crv,
Wrapped<String>? kid,
Wrapped<String>? kty,
Wrapped<String>? use,
Wrapped<String>? x,
Wrapped<String>? y,
Wrapped<int>? createdAt,
Wrapped<int?>? expiredAt}) {
return JWKPublicKey(
alg: (alg != null ? alg.value : this.alg),
crv: (crv != null ? crv.value : this.crv),
kid: (kid != null ? kid.value : this.kid),
kty: (kty != null ? kty.value : this.kty),
use: (use != null ? use.value : this.use),
x: (x != null ? x.value : this.x),
y: (y != null ? y.value : this.y),
createdAt: (createdAt != null ? createdAt.value : this.createdAt),
expiredAt: (expiredAt != null ? expiredAt.value : this.expiredAt));
}