Barcode class

Barcode element

Constructors

Barcode({required String text, required List<int> rawBytes, required BarcodeFormat barcodeFormat})
const

Properties

barcodeFormat BarcodeFormat
Barcode format
final
hashCode int
The hash code for this object.
no setterinherited
rawBytes List<int>
Decoded raw bytes of barcode
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
text String
Decoded text (String representation of rawBytes)
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → JsonObject
Converts this instance into a json object map. E.g. JsonObject toJson() => {'name': name, 'age': age};
toString() String
Default toString implementation: E.g. Foo(name: Ugo, age: 37)
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

fromJson(JsonObject json) Barcode