toJson method
Implementation
Map<String, dynamic> toJson() {
final dataSource = this.dataSource;
final compressionType = this.compressionType;
final contentType = this.contentType;
final splitType = this.splitType;
return {
'DataSource': dataSource,
if (compressionType != null) 'CompressionType': compressionType.toValue(),
if (contentType != null) 'ContentType': contentType,
if (splitType != null) 'SplitType': splitType.toValue(),
};
}