BarcodeScanningResult class

Inheritance
Annotations
  • @JsonSerializable(createFactory: true, includeIfNull: false, explicitToJson: false, createToJson: false)

Constructors

BarcodeScanningResult(List<BarcodeItem> barcodeItems)
BarcodeScanningResult.canceled()
BarcodeScanningResult.error(String message)
BarcodeScanningResult.fromJson(Map<String, dynamic> json)
factory
BarcodeScanningResult.fromUrlAndCode(Uri? barcodeImageURI, List<BarcodeItem> barcodeItems)
We can use this method named constructor while detection of Multiple images

Properties

barcodeImageURI Uri?
getter/setter pair
barcodeItems List<BarcodeItem>
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
message String?
Message with description of returned result, for example, error message
getter/setter pairinherited
operationResult OperationResult?
Standard result status
getter/setter pairinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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