ScanQualityReport class
Comprehensive scan quality analysis report.
Constructors
-
ScanQualityReport({required QualityGrade grade, required double overallScore, required BlurAnalysis blur, required LightAnalysis light, required SkewAnalysis skew, required ContrastAnalysis contrast, required List<
String> recommendations, required Duration analysisTime}) -
const
-
ScanQualityReport.fromJson(Map<
String, dynamic> json) -
factory
Properties
- analysisTime → Duration
-
Duration elapsed during analysis.
final
- blur → BlurAnalysis
-
Blur analysis results.
final
- contrast → ContrastAnalysis
-
Contrast analysis results.
final
- grade → QualityGrade
-
Overall quality grade.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- isAdequate → bool
-
Whether the scan quality is adequate for reliable scanning.
no setter
- light → LightAnalysis
-
Light condition analysis results.
final
- overallScore → double
-
Overall quality score (0.0 to 1.0).
final
-
recommendations
→ List<
String> -
Human-readable recommendations for improving scan quality.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- skew → SkewAnalysis
-
Skew/tilt analysis results.
final
- torchRecommended → bool
-
Whether torch/flash is recommended based on light conditions.
no setter
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited