toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() {
  final auprc = this.auprc;
  final auprcExact = this.auprcExact;
  final confidenceLevelMetrics = this.confidenceLevelMetrics;
  final confidenceLevelMetricsExact = this.confidenceLevelMetricsExact;
  final estimatedCalibrationError = this.estimatedCalibrationError;
  final estimatedCalibrationErrorExact = this.estimatedCalibrationErrorExact;
  final metricsType = this.metricsType;
  return {
    'auprc': ?auprc,
    'auprcExact': ?auprcExact,
    'confidenceLevelMetrics': ?confidenceLevelMetrics,
    'confidenceLevelMetricsExact': ?confidenceLevelMetricsExact,
    'estimatedCalibrationError': ?estimatedCalibrationError,
    'estimatedCalibrationErrorExact': ?estimatedCalibrationErrorExact,
    'metricsType': ?metricsType,
  };
}