SerializableModelAnalyzer class

Used to analyze a singe yaml model file.

Constructors

SerializableModelAnalyzer()

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
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

extractModelDefinition(ModelSource modelSource, List<TypeDefinition> extraClasses) SerializableModelDefinition?
Best effort attempt to extract an model definition from a yaml file.
resolveModelDependencies(List<SerializableModelDefinition> modelDefinitions) → void
Resolves dependencies between models, this method mutates the input.
validateYamlDefinition(GeneratorConfig config, String yaml, Uri sourceUri, CodeAnalysisCollector collector, SerializableModelDefinition? model, List<SerializableModelDefinition> models) → void
Validates a yaml file against an expected syntax for model files.