toJson method
Implementation
Map<String, dynamic> toJson() {
final json = <String, dynamic>{};
json[r'firstName'] = firstName;
json[r'lastName'] = lastName;
json[r'ssin'] = ssin;
if (dateOfBirth != null) {
json[r'dateOfBirth'] = dateOfBirth;
}
json[r'exists'] = exists;
if (existingPatientId != null) {
json[r'existingPatientId'] = existingPatientId;
}
return json;
}