encode static method

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

Implementation

static Map<String, dynamic> encode(DecryptedCareTeamMembership 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;
}