toJson method
Implementation
Map<String, dynamic> toJson() {
final columnName = this.columnName;
final newColumnType = this.newColumnType;
final format = this.format;
return {
'ColumnName': columnName,
'NewColumnType': newColumnType.toValue(),
if (format != null) 'Format': format,
};
}