DescribeDatasetResponse.fromJson constructor
DescribeDatasetResponse.fromJson(
- Map<String, dynamic> json
)
Implementation
factory DescribeDatasetResponse.fromJson(Map<String, dynamic> json) {
return DescribeDatasetResponse(
creationTime: timeStampFromJson(json['CreationTime']),
dataFrequency: json['DataFrequency'] as String?,
datasetArn: json['DatasetArn'] as String?,
datasetName: json['DatasetName'] as String?,
datasetType: (json['DatasetType'] as String?)?.toDatasetType(),
domain: (json['Domain'] as String?)?.toDomain(),
encryptionConfig: json['EncryptionConfig'] != null
? EncryptionConfig.fromJson(
json['EncryptionConfig'] as Map<String, dynamic>)
: null,
lastModificationTime: timeStampFromJson(json['LastModificationTime']),
schema: json['Schema'] != null
? Schema.fromJson(json['Schema'] as Map<String, dynamic>)
: null,
status: json['Status'] as String?,
);
}