encode static method

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

Implementation

static Map<String, dynamic> encode(MedicalLocation value) {
	Map<String, dynamic> entityAsMap = {
		"id" : value.id,
		"rev" : value.rev,
		"deletionDate" : value.deletionDate,
		"name" : value.name,
		"description" : value.description,
		"responsible" : value.responsible,
		"guardPost" : value.guardPost,
		"cbe" : value.cbe,
		"bic" : value.bic,
		"bankAccount" : value.bankAccount,
		"nihii" : value.nihii,
		"ssin" : value.ssin,
		"address" : value.address == null ? null : DecryptedAddress.encode(value.address!),
		"agendaIds" : value.agendaIds.map((x0) => x0).toList(),
		"options" : value.options.map((k0, v0) => MapEntry(k0, v0)),
		"publicInformations" : value.publicInformations.map((k0, v0) => MapEntry(k0, v0))
	};
	return entityAsMap;
}