Barcode class

Represents a single recognized barcode and its value.

Constructors

Barcode.fromNative(Map data)
Create a Barcode from native data.

Properties

calendarEvent CalendarEvent?
Gets parsed calendar event details.
final
contactInfo ContactInfo?
Gets parsed contact details.
final
corners List<Offset>?
Returns four corner points in clockwise direction starting with top-left.
final
driverLicense DriverLicense?
Gets parsed driver license details.
final
email Email?
Gets parsed email details.
final
format BarcodeFormat
Returns barcode format
final
geoPoint GeoPoint?
Gets parsed geo coordinates.
final
hashCode int
The hash code for this object.
no setterinherited
phone Phone?
Gets parsed phone number details.
final
rawBytes Uint8List?
Returns raw bytes as it was encoded in the barcode.
final
rawValue String?
Returns barcode value as it was encoded in the barcode. Structured values are not parsed, for example: 'MEBKM:TITLE:Google;URL://www.google.com;;'.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sms SMS?
Gets parsed SMS details.
final
type BarcodeType
Returns format type of the barcode value.
final
url UrlBookmark?
Gets parsed URL bookmark details.
final
wifi WiFi?
Gets parsed WiFi AP details.
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