toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final dataLocationS3 = this.dataLocationS3;
  final dataRearrangement = this.dataRearrangement;
  final dataSchema = this.dataSchema;
  final dataSchemaLocationS3 = this.dataSchemaLocationS3;
  return {
    'DataLocationS3': dataLocationS3,
    if (dataRearrangement != null) 'DataRearrangement': dataRearrangement,
    if (dataSchema != null) 'DataSchema': dataSchema,
    if (dataSchemaLocationS3 != null)
      'DataSchemaLocationS3': dataSchemaLocationS3,
  };
}