encode static method
Implementation
static Map<String, dynamic> encode(DecryptedPatientHealthCareParty value) {
Map<String, dynamic> entityAsMap = {
"type" : value.type == null ? null : PatientHealthCarePartyType.encode(value.type!),
"healthcarePartyId" : value.healthcarePartyId,
"sendFormats" : value.sendFormats.map((k0, v0) => MapEntry(TelecomType.encode(k0), v0)),
"referralPeriods" : value.referralPeriods.map((x0) => ReferralPeriod.encode(x0)).toList(),
"referral" : value.referral,
"encryptedSelf" : value.encryptedSelf
};
return entityAsMap;
}