encode static method
Implementation
static Map<String, dynamic> encode(CryptoActorStub value) {
Map<String, dynamic> entityAsMap = {
"id" : value.id,
"rev" : value.rev,
"hcPartyKeys" : value.hcPartyKeys.map((k0, v0) => MapEntry(k0, v0.map((x1) => x1).toList())),
"aesExchangeKeys" : value.aesExchangeKeys.map((k0, v0) => MapEntry(k0, v0.map((k1, v1) => MapEntry(k1, v1.map((k2, v2) => MapEntry(k2, v2)))))),
"transferKeys" : value.transferKeys.map((k0, v0) => MapEntry(k0, v0.map((k1, v1) => MapEntry(k1, v1)))),
"privateKeyShamirPartitions" : value.privateKeyShamirPartitions.map((k0, v0) => MapEntry(k0, v0)),
"publicKey" : value.publicKey,
"publicKeysForOaepWithSha256" : value.publicKeysForOaepWithSha256.map((x0) => x0).toList(),
"tags" : value.tags.map((x0) => CodeStub.encode(x0)).toList()
};
return entityAsMap;
}