SchemaTypeOverridesParser class final CLI Adapters & Tooling

Parses the types: block of basalt.yaml into SchemaTypeOverrides.

Kept apart from SchemaTypeOverrides so the resolution model stays small and the (chunkier) parsing/validation lives on its own. Every malformed entry throws StateError with a user-facing message the CLI surfaces as Error: <message>.

Constructors

SchemaTypeOverridesParser()
const

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
parse(Object? node) SchemaTypeOverrides
Parses the types: node (a map, or null when absent).
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited