BitMatrixParser class

@author Sean Owen

Constructors

BitMatrixParser(BitMatrix _bitMatrix)
@param bitMatrix BitMatrix to parse @throws FormatException if dimension is not >= 21 and 1 mod 4

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

mirror() → void
Mirror the bit matrix in order to attempt a second reading.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
readCodewords() Uint8List
Reads the bits in the [BitMatrix] representing the finder pattern in the correct order in order to reconstruct the codewords bytes contained within the QR Code.
readFormatInformation() FormatInformation
Reads format information from one of its two locations within the QR Code.
readVersion() Version
Reads version information from one of its two locations within the QR Code.
remask() → void
Revert the mask removal done while reading the code words. The bit matrix should revert to its original state.
setMirror(bool mirror) → void
Prepare the parser for a mirrored operation. This flag has effect only on the {@link #readFormatInformation()} and the {@link #readVersion()}. Before proceeding with {@link #readCodewords()} the {@link #mirror()} method should be called.
toString() String
A string representation of this object.
inherited

Operators

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