BarcodeCandidate class
Data class that represents the results of the barcode detection process.
Constructors
-
BarcodeCandidate(String value, Rectangle<
double> boundingBox) -
Constructs a BarcodeCandidate with the provided
value
andboundingBox
.const -
BarcodeCandidate.fromJson(Map<
String, dynamic> json) -
Constructs a BarcodeCandidate from a JSON map.
factory
Properties
-
boundingBox
→ Rectangle<
double> -
The bounding box of the detected barcode in the image.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- value → String
-
The detected barcode value.
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