toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final castColumnTypeOperation = this.castColumnTypeOperation;
  final createColumnsOperation = this.createColumnsOperation;
  final filterOperation = this.filterOperation;
  final projectOperation = this.projectOperation;
  final renameColumnOperation = this.renameColumnOperation;
  final tagColumnOperation = this.tagColumnOperation;
  return {
    if (castColumnTypeOperation != null)
      'CastColumnTypeOperation': castColumnTypeOperation,
    if (createColumnsOperation != null)
      'CreateColumnsOperation': createColumnsOperation,
    if (filterOperation != null) 'FilterOperation': filterOperation,
    if (projectOperation != null) 'ProjectOperation': projectOperation,
    if (renameColumnOperation != null)
      'RenameColumnOperation': renameColumnOperation,
    if (tagColumnOperation != null) 'TagColumnOperation': tagColumnOperation,
  };
}