CatalogParser
Category: Catalog
Source: catalog_parser.dart
Parses the Glue model/provider catalog YAML into [ModelCatalog].
The parser is forgiving about extra fields (forward-compat) but strict about required ones — malformed catalogs raise [CatalogParseException] with a path to the offending node.
Classes
CatalogParseException
Constructor
dart
CatalogParseException(this.message, {this.path})Properties
| Property | Type | Description |
|---|---|---|
message | String | |
path | String? |
Methods
String toString()
Functions
ModelCatalog parseCatalogYaml(String yaml)
Parse a YAML string into a [ModelCatalog].