Barcode class

Represents a single recognized barcode and its value.

Constructors

Barcode({required String rawValue, required BarcodeValueType valueType, required BarcodeFormat format, String? displayValue})
const
Barcode.fromJson(Map<String, dynamic> json)
factory

Properties

displayValue → String?
Barcode value in a user-friendly format.
final
format → BarcodeFormat
Barcode format.
final
hashCode → int
The hash code for this object.
no setterinherited
rawValue → String
Barcode value as it was encoded in the barcode.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
valueType → BarcodeValueType
Format type of the 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