toJson method

Map<String, dynamic> toJson()

Implementation

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