encode static method

Map<String, dynamic> encode(
  1. EncryptedSubContact value
)
override

Implementation

static Map<String, dynamic> encode(EncryptedSubContact value) {
	Map<String, dynamic> entityAsMap = {
		"id" : value.id,
		"created" : value.created,
		"modified" : value.modified,
		"author" : value.author,
		"responsible" : value.responsible,
		"medicalLocationId" : value.medicalLocationId,
		"tags" : value.tags.map((x0) => CodeStub.encode(x0)).toList(),
		"codes" : value.codes.map((x0) => CodeStub.encode(x0)).toList(),
		"endOfLife" : value.endOfLife,
		"descr" : value.descr,
		"protocol" : value.protocol,
		"status" : value.status,
		"formId" : value.formId,
		"planOfActionId" : value.planOfActionId,
		"healthElementId" : value.healthElementId,
		"classificationId" : value.classificationId,
		"services" : value.services.map((x0) => ServiceLink.encode(x0)).toList(),
		"encryptedSelf" : value.encryptedSelf
	};
	return entityAsMap;
}