BarcodeAdditionalParameters class

A class that contains additional parameters for barcodes detection and filtering.

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

Constructors

BarcodeAdditionalParameters.new({bool? enableGS1Decoding, int? minimumTextLength, int? maximumTextLength, int? minimum1DBarcodesQuietZone, bool? stripCheckDigits, MSIPlesseyChecksumAlgorithm? msiPlesseyChecksumAlgorithm, bool? lowPowerMode, CodeDensity? codeDensity})
BarcodeAdditionalParameters.fromJson(Map<String, dynamic> json)
factory

Properties

codeDensity CodeDensity?
The expected density of QR codes. A higher density finds more QR codes in an image but the performance is slightly reduced.
getter/setter pair
enableGS1Decoding bool?
With this option, the scanner assumes that the barcode can be a GS1 barcode, and modifies the behavior as needed. You can set it to FALSE, if you don't want to see decoded FNC1 characters ("]C1" and ASCII char 29). The default is TRUE.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
lowPowerMode bool?
If true, enabled the mode which slightly decreases the scanning quality and the energy consumption, and increases the scanning speed. If false - mode is disabled. The default is false. Android only.
getter/setter pair
maximumTextLength int?
Maximum text length of the detected barcode. Setting to zero removes the limit. The default is 0. NOTE: Currently works for ITF barcodes only!
getter/setter pair
minimum1DBarcodesQuietZone int?
Minimum required quiet zone on the barcode. Measured in modules (the size of minimal bar on the barcode). The default is 10. NOTE: Currently works for ITF barcodes only!
getter/setter pair
minimumTextLength int?
Minimum required text length of the detected barcode. The default is 0. NOTE: Currently works for ITF barcodes only!
getter/setter pair
msiPlesseyChecksumAlgorithm MSIPlesseyChecksumAlgorithm?
The checksum algorithms for MSI Plessey barcodes. The default value is MSIPlesseyChecksumAlgorithm.Mod10.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stripCheckDigits bool?
when set to true, check digits for UPC, EAN and MSI Plessey codes are removed from result. Has no effect if both single and double digit MSI Plessey checksums are enabled. The default is false
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

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