BarcodeResult class

Barcode result contains barcode format, result, and coordinate points

https://flutter.dev/docs/development/data-and-backend/json

Constructors

BarcodeResult(String format, String text, int x1, int y1, int x2, int y2, int x3, int y3, int x4, int y4, int angle)
Constructor
BarcodeResult.fromJson(Map json)
Constructs a BarcodeResult from a JSON map.
BarcodeResult.fromMap(Map json)
Constructs a BarcodeResult from a JSON map.

Properties

angle int
final
format String
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
text String
final
x1 int
final
x2 int
final
x3 int
final
x4 int
final
y1 int
final
y2 int
final
y3 int
final
y4 int
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Returns a JSON map containing all the information of the BarcodeResult.
toString() String
A string representation of this object.
inherited

Operators

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