Barcode class

Represents a single recognized barcode and its value.

Properties

boundingBox Rect?
The bounding rectangle of the detected barcode.
final
calendarEvent BarcodeCalendarEvent?
Parsed calendar event details. (set iff valueType is BarcodeValueType.calendarEvent).
final
contactInfo BarcodeContactInfo?
Parsed contact details. (set iff valueType is BarcodeValueType.contactInfo).
final
cornerPoints List<Offset>
The four corner points in clockwise direction starting with top-left.
no setter
displayValue String?
Barcode value in a user-friendly format.
final
driverLicense BarcodeDriverLicense?
Parsed driver's license details. (set iff valueType is BarcodeValueType.driverLicense).
final
email BarcodeEmail?
Parsed email details. (set iff valueType is BarcodeValueType.email).
final
format BarcodeFormat
The barcode format, for example BarcodeFormat.ean13.
final
geoPoint BarcodeGeoPoint?
Parsed geo coordinates. (set iff valueType is BarcodeValueType.geographicCoordinates).
final
hashCode int
The hash code for this object.
no setterinherited
phone BarcodePhone?
Parsed phone details. (set iff valueType is BarcodeValueType.phone).
final
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
sms BarcodeSMS?
Parsed SMS details. (set iff valueType is BarcodeValueType.sms).
final
url BarcodeURLBookmark?
Parsed URL bookmark details. (set iff valueType is BarcodeValueType.url).
final
valueType BarcodeValueType
The format type of the barcode value.
final
wifi BarcodeWiFi?
Parsed WiFi AP details. (set iff valueType is BarcodeValueType.wifi).
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