JobExecutionSummary.fromJson constructor

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

Implementation

factory JobExecutionSummary.fromJson(Map<String, dynamic> json) {
  return JobExecutionSummary(
    executionNumber: json['executionNumber'] as int?,
    lastUpdatedAt: timeStampFromJson(json['lastUpdatedAt']),
    queuedAt: timeStampFromJson(json['queuedAt']),
    startedAt: timeStampFromJson(json['startedAt']),
    status: (json['status'] as String?)?.toJobExecutionStatus(),
  );
}