AllowedKeyType.fromJson constructor
AllowedKeyType.fromJson(
- Map json_
Implementation
AllowedKeyType.fromJson(core.Map json_)
: this(
ellipticCurve: json_.containsKey('ellipticCurve')
? EcKeyType.fromJson(
json_['ellipticCurve'] as core.Map<core.String, core.dynamic>)
: null,
rsa: json_.containsKey('rsa')
? RsaKeyType.fromJson(
json_['rsa'] as core.Map<core.String, core.dynamic>)
: null,
);