DatasetContentSummary.fromJson constructor

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

Implementation

factory DatasetContentSummary.fromJson(Map<String, dynamic> json) {
  return DatasetContentSummary(
    completionTime: timeStampFromJson(json['completionTime']),
    creationTime: timeStampFromJson(json['creationTime']),
    scheduleTime: timeStampFromJson(json['scheduleTime']),
    status: json['status'] != null
        ? DatasetContentStatus.fromJson(
            json['status'] as Map<String, dynamic>)
        : null,
    version: json['version'] as String?,
  );
}