ImportJobSummary.fromJson constructor

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

Implementation

factory ImportJobSummary.fromJson(Map<String, dynamic> json) {
  return ImportJobSummary(
    createdTimestamp: timeStampFromJson(json['CreatedTimestamp']),
    importDestination: json['ImportDestination'] != null
        ? ImportDestination.fromJson(
            json['ImportDestination'] as Map<String, dynamic>)
        : null,
    jobId: json['JobId'] as String?,
    jobStatus: (json['JobStatus'] as String?)?.toJobStatus(),
  );
}