toJson method

Map<String, dynamic> toJson()

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,
  };
}