encode static method
Implementation
static Map<String, dynamic> encode(DecryptedAddress value) {
Map<String, dynamic> entityAsMap = {
"tags" : value.tags.map((x0) => CodeStub.encode(x0)).toList(),
"codes" : value.codes.map((x0) => CodeStub.encode(x0)).toList(),
"identifier" : value.identifier.map((x0) => Identifier.encode(x0)).toList(),
"addressType" : value.addressType == null ? null : AddressType.encode(value.addressType!),
"descr" : value.descr,
"street" : value.street,
"houseNumber" : value.houseNumber,
"postboxNumber" : value.postboxNumber,
"postalCode" : value.postalCode,
"city" : value.city,
"state" : value.state,
"country" : value.country,
"note" : value.note,
"notes" : value.notes.map((x0) => Annotation.encode(x0)).toList(),
"telecoms" : value.telecoms.map((x0) => DecryptedTelecom.encode(x0)).toList(),
"encryptedSelf" : value.encryptedSelf
};
return entityAsMap;
}