toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (context != null) 'context': context!,
if (instruction != null) 'instruction': instruction!,
if (prediction != null) 'prediction': prediction!,
if (reference != null) 'reference': reference!,
};