FinalAutoMLJobObjectiveMetric.fromJson constructor

FinalAutoMLJobObjectiveMetric.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory FinalAutoMLJobObjectiveMetric.fromJson(Map<String, dynamic> json) {
  return FinalAutoMLJobObjectiveMetric(
    metricName: (json['MetricName'] as String).toAutoMLMetricEnum(),
    value: json['Value'] as double,
    type: (json['Type'] as String?)?.toAutoMLJobObjectiveType(),
  );
}