Skip to content

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

PropertyTypeDescription
messageString
pathString?

Methods

String toString()

Functions

ModelCatalog parseCatalogYaml(String yaml)

Parse a YAML string into a [ModelCatalog].

Released under the MIT License.