DecoderResult class

Encapsulates the result of decoding a matrix of bits.

This typically applies to 2D barcode formats. For now it contains the raw bytes obtained, as well as a String interpretation of those bytes, if applicable.

@author Sean Owen

Constructors

DecoderResult(Uint8List? _rawBytes, String _text, List<Uint8List>? _byteSegments, String? _ecLevel, {dynamic saSequence = -1, dynamic saParity = -1, dynamic symbologyModifier = 0})

Properties

byteSegments List<Uint8List>?
@return list of byte segments in the result, or null if not applicable
no setter
ecLevel String?
@return name of error correction level used, or null if not applicable
no setter
erasures int?
number of erasures corrected, or null if not applicable
getter/setter pair
errorsCorrected int?
number of errors corrected, or null if not applicable
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
hasStructuredAppend bool
no setter
numBits int
how many bits of rawBytes are valid; typically 8 times its length you can overrides the number of bits that are valid in
getter/setter pair
other Object?
arbitrary additional metadata
getter/setter pair
rawBytes Uint8List?
@return raw bytes representing the result, or null if not applicable
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
structuredAppendParity int
no setter
structuredAppendSequenceNumber int
no setter
symbologyModifier int
no setter
text String
@return text representation of the result
no setter

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