SecurityMetadata.fromJSON constructor
Implementation
factory SecurityMetadata.fromJSON(Map<String, dynamic> data) {
return SecurityMetadata(
(data["secureDelegations"] as Map<String, dynamic>).map((k0, v0) => MapEntry((k0 as SecureDelegationKeyString), SecureDelegation.fromJSON(v0))),
keysEquivalences: (data["keysEquivalences"] as Map<String, dynamic>).map((k0, v0) => MapEntry((k0 as Sha256HexString), (v0 as Sha256HexString))),
);
}