toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final dataSource = this.dataSource;
  final targetAttributeName = this.targetAttributeName;
  final compressionType = this.compressionType;
  return {
    'DataSource': dataSource,
    'TargetAttributeName': targetAttributeName,
    if (compressionType != null) 'CompressionType': compressionType.toValue(),
  };
}