DatasetDefinition.fromJson constructor
DatasetDefinition.fromJson(
- Map<String, dynamic> json
)
Implementation
factory DatasetDefinition.fromJson(Map<String, dynamic> json) {
return DatasetDefinition(
athenaDatasetDefinition: json['AthenaDatasetDefinition'] != null
? AthenaDatasetDefinition.fromJson(
json['AthenaDatasetDefinition'] as Map<String, dynamic>)
: null,
dataDistributionType:
(json['DataDistributionType'] as String?)?.toDataDistributionType(),
inputMode: (json['InputMode'] as String?)?.toInputMode(),
localPath: json['LocalPath'] as String?,
redshiftDatasetDefinition: json['RedshiftDatasetDefinition'] != null
? RedshiftDatasetDefinition.fromJson(
json['RedshiftDatasetDefinition'] as Map<String, dynamic>)
: null,
);
}