toJson method
Implementation
Map<String, dynamic> toJson() {
final databaseName = this.databaseName;
final name = this.name;
final catalogId = this.catalogId;
final columnNames = this.columnNames;
final columnWildcard = this.columnWildcard;
return {
'DatabaseName': databaseName,
'Name': name,
if (catalogId != null) 'CatalogId': catalogId,
if (columnNames != null) 'ColumnNames': columnNames,
if (columnWildcard != null) 'ColumnWildcard': columnWildcard,
};
}