factory DatabaseResource.fromJson(Map<String, dynamic> json) { return DatabaseResource( name: json['Name'] as String, catalogId: json['CatalogId'] as String?, ); }