DecryptedCareTeamMembership.fromJSON constructor
DecryptedCareTeamMembership.fromJSON(
- Map<String, dynamic> data
)
Implementation
factory DecryptedCareTeamMembership.fromJSON(Map<String, dynamic> data) {
return DecryptedCareTeamMembership(
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?)
);
}