toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (certaintyAssessment != null)
'certaintyAssessment': certaintyAssessment!,
if (confidence != null) 'confidence': confidence!,
if (linkedEntities != null) 'linkedEntities': linkedEntities!,
if (mentionId != null) 'mentionId': mentionId!,
if (subject != null) 'subject': subject!,
if (temporalAssessment != null)
'temporalAssessment': temporalAssessment!,
if (text != null) 'text': text!,
if (type != null) 'type': type!,
};