toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (error != null) 'error': error!,
if (explanation != null) 'explanation': explanation!,
if (rubricVerdicts != null) 'rubricVerdicts': rubricVerdicts!,
if (score != null) 'score': score!,
};