toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() {
  final dataItemPayload = this.dataItemPayload;
  final errorAnalysisAnnotations = this.errorAnalysisAnnotations;
  final evaluatedDataItemViewId = this.evaluatedDataItemViewId;
  final explanations = this.explanations;
  final groundTruths = this.groundTruths;
  final predictions = this.predictions;
  final type = this.type;
  return {
    'dataItemPayload': ?dataItemPayload,
    'errorAnalysisAnnotations': ?errorAnalysisAnnotations,
    'evaluatedDataItemViewId': ?evaluatedDataItemViewId,
    'explanations': ?explanations,
    'groundTruths': ?groundTruths,
    'predictions': ?predictions,
    'type': ?type,
  };
}