QualityReport class final
The outcome of evaluating one image.
Constructors
-
QualityReport({required List<
QualityIssue> issues, required QualityMetrics metrics}) -
Creates a report. Normally produced by
ImageQualityGate.
Properties
-
errors
→ List<
QualityIssue> -
Issues that reject the image.
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
-
issues
→ List<
QualityIssue> -
Every failed check, in a fixed order: resolution, sharpness, exposure,
glare, contrast, document fill.
final
- metrics → QualityMetrics
-
All raw measurements.
final
- passed → bool
-
True when no issue has IssueSeverity.error.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
warnings
→ List<
QualityIssue> -
Issues that are reported but do not reject the image.
no setter
Methods
-
has(
QualityIssueCode code) → bool -
Whether an issue with
codewas raised. -
issue(
QualityIssueCode code) → QualityIssue? -
The issue with
code, or null if that check passed. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited