factory DataSource.fromJson(Map<String, dynamic> json) { return DataSource( s3Config: S3Config.fromJson(json['S3Config'] as Map<String, dynamic>), ); }