S3DataSource.fromJson constructor
Implementation
factory S3DataSource.fromJson(Map<String, dynamic> json) {
return S3DataSource(
s3DataType: (json['S3DataType'] as String).toS3DataType(),
s3Uri: json['S3Uri'] as String,
attributeNames: (json['AttributeNames'] as List?)
?.whereNotNull()
.map((e) => e as String)
.toList(),
s3DataDistributionType:
(json['S3DataDistributionType'] as String?)?.toS3DataDistribution(),
);
}