AutoMLJobObjective.fromJson constructor

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

Implementation

factory AutoMLJobObjective.fromJson(Map<String, dynamic> json) {
  return AutoMLJobObjective(
    metricName: (json['MetricName'] as String).toAutoMLMetricEnum(),
  );
}