toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (answerRelevance != null) 'answerRelevance': answerRelevance!,
      if (documentCorrectness != null)
        'documentCorrectness': documentCorrectness!,
      if (documentEfficiency != null)
        'documentEfficiency': documentEfficiency!,
      if (knowledgeSearchFeedback != null)
        'knowledgeSearchFeedback': knowledgeSearchFeedback!,
      if (summarizationFeedback != null)
        'summarizationFeedback': summarizationFeedback!,
    };