encode static method
Implementation
static Map<String, dynamic> encode(Place value) {
Map<String, dynamic> entityAsMap = {
"id" : value.id,
"rev" : value.rev,
"deletionDate" : value.deletionDate,
"name" : value.name,
"address" : value.address == null ? null : DecryptedAddress.encode(value.address!)
};
return entityAsMap;
}