toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (aggregateClassificationMetrics != null)
        'aggregateClassificationMetrics': aggregateClassificationMetrics!,
      if (binaryConfusionMatrixList != null)
        'binaryConfusionMatrixList': binaryConfusionMatrixList!,
      if (negativeLabel != null) 'negativeLabel': negativeLabel!,
      if (positiveLabel != null) 'positiveLabel': positiveLabel!,
    };