SbpValidation class

The outcome of tiers 2 and 3 for one decoded document.

Constructors

SbpValidation({required String markdown, required List<DocSpecsViolation> schemaFindings, required List<SpecValidationError> instanceFindings})
Bundles the markdown rendition the schema tier read with both finding lists.

Properties

hashCode → int
The hash code for this object.
no setterinherited
instanceFindings → List<SpecValidationError>
Tier 3 findings (the document against the model).
final
isClean → bool
Whether both tiers are clean.
no setter
markdown → String
The rendition the schema tier validated.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
schemaFindings → List<DocSpecsViolation>
Tier 2 findings (the rendition against the DocSpecs schema).
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
reportLines() → List<String>
Every finding, one line each, then the two tier summaries: the format the spec_checks validate command prints.
toString() → String
A string representation of this object.
inherited

Operators

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