EncryptedCareTeamMembership.fromJSON constructor
EncryptedCareTeamMembership.fromJSON(
- Map<String, dynamic> data
)
Implementation
factory EncryptedCareTeamMembership.fromJSON(Map<String, dynamic> data) {
return EncryptedCareTeamMembership(
startDate: (data["startDate"] as int?),
endDate: (data["endDate"] as int?),
careTeamMemberId: (data["careTeamMemberId"] as String?),
membershipType: data["membershipType"] == null ? null : MembershipType.fromJSON(data["membershipType"]),
encryptedSelf: (data["encryptedSelf"] as Base64String?)
);
}