toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final catalog = this.catalog;
  final dataLocation = this.dataLocation;
  final database = this.database;
  final table = this.table;
  final tableWithColumns = this.tableWithColumns;
  return {
    if (catalog != null) 'Catalog': catalog,
    if (dataLocation != null) 'DataLocation': dataLocation,
    if (database != null) 'Database': database,
    if (table != null) 'Table': table,
    if (tableWithColumns != null) 'TableWithColumns': tableWithColumns,
  };
}