Jwk.fromJson constructor
Implementation
factory Jwk.fromJson(Map<String, Object?> json) => Jwk(
kty: json['kty'] as String,
crv: json['crv'] as String?,
x: json['x'] as String?,
kid: json['kid'] as String?,
additional: Map.fromEntries(
json.entries.where(
(entry) => !const {'kty', 'crv', 'x', 'kid'}.contains(entry.key),
),
),
);