toJson method
Implementation
Map<String, dynamic> toJson() {
final json = <String, dynamic>{};
json[r'id'] = id;
if (careTeamMemberType != null) {
json[r'careTeamMemberType'] = careTeamMemberType;
}
if (healthcarePartyId != null) {
json[r'healthcarePartyId'] = healthcarePartyId;
}
if (quality != null) {
json[r'quality'] = quality;
}
if (encryptedSelf != null) {
json[r'encryptedSelf'] = encryptedSelf;
}
return json;
}