DatasetSummary.fromJson constructor

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

Implementation

factory DatasetSummary.fromJson(Map<String, dynamic> json) {
  return DatasetSummary(
    creationTime: timeStampFromJson(json['CreationTime']),
    datasetArn: json['DatasetArn'] as String?,
    datasetName: json['DatasetName'] as String?,
    datasetType: (json['DatasetType'] as String?)?.toDatasetType(),
    domain: (json['Domain'] as String?)?.toDomain(),
    lastModificationTime: timeStampFromJson(json['LastModificationTime']),
  );
}