toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() {
  final aggregationMetric = this.aggregationMetric;
  final bleuMetricValue = this.bleuMetricValue;
  final customCodeExecutionResult = this.customCodeExecutionResult;
  final exactMatchMetricValue = this.exactMatchMetricValue;
  final pairwiseMetricResult = this.pairwiseMetricResult;
  final pointwiseMetricResult = this.pointwiseMetricResult;
  final rougeMetricValue = this.rougeMetricValue;
  return {
    'aggregationMetric': ?aggregationMetric,
    'bleuMetricValue': ?bleuMetricValue,
    'customCodeExecutionResult': ?customCodeExecutionResult,
    'exactMatchMetricValue': ?exactMatchMetricValue,
    'pairwiseMetricResult': ?pairwiseMetricResult,
    'pointwiseMetricResult': ?pointwiseMetricResult,
    'rougeMetricValue': ?rougeMetricValue,
  };
}