AutoMLJobSummary.fromJson constructor

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

Implementation

factory AutoMLJobSummary.fromJson(Map<String, dynamic> json) {
  return AutoMLJobSummary(
    autoMLJobArn: json['AutoMLJobArn'] as String,
    autoMLJobName: json['AutoMLJobName'] as String,
    autoMLJobSecondaryStatus: (json['AutoMLJobSecondaryStatus'] as String)
        .toAutoMLJobSecondaryStatus(),
    autoMLJobStatus: (json['AutoMLJobStatus'] as String).toAutoMLJobStatus(),
    creationTime:
        nonNullableTimeStampFromJson(json['CreationTime'] as Object),
    lastModifiedTime:
        nonNullableTimeStampFromJson(json['LastModifiedTime'] as Object),
    endTime: timeStampFromJson(json['EndTime']),
    failureReason: json['FailureReason'] as String?,
  );
}