ScanReport class

Constructors

ScanReport(List<Detection> detections, Score? score, List<Hint> hints, AlphaReport? alpha, PipelineTrace trace, Versions versions, Map<String, dynamic> raw)
const
ScanReport.fromJson(Map<String, dynamic> j)
factory
ScanReport.parse(String jsonString)
Parse a raw JSON string (what the native bindings return).
factory

Properties

alpha → AlphaReport?
null for opaque inputs (the wire omits the key entirely) and under alphaBackground: "none".
final
detections → List<Detection>
Empty = no QR found (a valid outcome, not an error) — final only when trace.budgetExhausted == false.
final
hashCode → int
The hash code for this object.
no setterinherited
hints → List<Hint>
final
raw → Map<String, dynamic>
The original decoded JSON map — escape hatch for any field this typed view does not yet model.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
score → Score?
The judgment of detections[0]; null when no judgment was published: no detection · a configuration that computes no score (the frame profile, every axis skipped) · a judgment the budget interrupted (trace.budgetExhausted == true: not judged, retry with a larger or no budget) · a contained fault. Never partial; never read null as 0.
final
trace → PipelineTrace
final
versions → Versions
final

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