toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (entities != null) 'entities': entities!,
if (entityMentions != null) 'entityMentions': entityMentions!,
if (fhirBundle != null) 'fhirBundle': fhirBundle!,
if (relationships != null) 'relationships': relationships!,
};