toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (otherData != null) 'otherData': otherData!,
if (prompt != null) 'prompt': prompt!,
if (reference != null) 'reference': reference!,
if (response != null) 'response': response!,
if (rubricGroups != null) 'rubricGroups': rubricGroups!,
};