toJson method

Map<String, dynamic> toJson()

Implementation

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