DataSourceConfig.fromJson constructor
Implementation
factory DataSourceConfig.fromJson(Map<String, dynamic> json) {
return DataSourceConfig(
name: json['name'] as String,
s3Bucket: json['s3Bucket'] as String,
s3Keys: (json['s3Keys'] as List)
.whereNotNull()
.map((e) => e as String)
.toList(),
);
}