JobSummary.fromJson constructor
JobSummary.fromJson(
- Map<String, dynamic> json
)
Implementation
factory JobSummary.fromJson(Map<String, dynamic> json) {
return JobSummary(
commitId: json['commitId'] as String,
commitMessage: json['commitMessage'] as String,
commitTime: nonNullableTimeStampFromJson(json['commitTime'] as Object),
jobArn: json['jobArn'] as String,
jobId: json['jobId'] as String,
jobType: (json['jobType'] as String).toJobType(),
startTime: nonNullableTimeStampFromJson(json['startTime'] as Object),
status: (json['status'] as String).toJobStatus(),
endTime: timeStampFromJson(json['endTime']),
);
}