Jwk.fromJson constructor
Creates a Jwk instance from a JSON map.
The json
parameter is a map containing the JWK properties.
Implementation
factory Jwk.fromJson(Map<String, dynamic> json) {
return Jwk(
kty: json['kty'],
crv: json['crv'],
x: json['x'],
d: json['d'],
y: json['y'],
);
}