toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final databaseName = this.databaseName;
  final catalogId = this.catalogId;
  final name = this.name;
  final tableWildcard = this.tableWildcard;
  return {
    'DatabaseName': databaseName,
    if (catalogId != null) 'CatalogId': catalogId,
    if (name != null) 'Name': name,
    if (tableWildcard != null) 'TableWildcard': tableWildcard,
  };
}