toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() {
  final error = this.error;
  final explanation = this.explanation;
  final rubricVerdicts = this.rubricVerdicts;
  final score = this.score;
  return {
    'error': ?error,
    'explanation': ?explanation,
    'rubricVerdicts': ?rubricVerdicts,
    'score': ?score,
  };
}