toJson method

Map<String, dynamic> toJson()

Implementation

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