Codes class abstract final

Stable finding codes (also used in baselines and --format json).

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

Constants

ambiguousMatch → const String
The schema the name points at fits the model poorly: the model was re-paired by shape, or its missing keys are reported as info only.
enumExtra → const String
The Dart enum has values the schema never sends.
enumUnhandled → const String
The schema has enum values the Dart enum does not know.
missingInSchema → const String
The app reads a key the schema does not have (often a rename).
nullableMismatch → const String
The schema allows null/absent but the Dart read cannot handle it.
requiredIgnored → const String
The schema requires a field the app never reads.
typeMismatch → const String
The Dart type cannot hold the JSON type.
unknownSchema → const String
api_contract.yaml points at a schema or endpoint that does not exist.
unmatchedModel → const String
No schema could be matched to the model.