encode static method
Implementation
static Map<String, dynamic> encode(EncryptedCareTeamMembership value) {
Map<String, dynamic> entityAsMap = {
"startDate" : value.startDate,
"endDate" : value.endDate,
"careTeamMemberId" : value.careTeamMemberId,
"membershipType" : value.membershipType == null ? null : MembershipType.encode(value.membershipType!),
"encryptedSelf" : value.encryptedSelf
};
return entityAsMap;
}