decode method
Convenience method that can decode a QR Code represented as a 2D array of booleans. "true" is taken to mean a black module.
@param image booleans representing white/black QR Code modules @param hints decoding hints that should be used to influence decoding @return text and bytes encoded within the QR Code @throws FormatException if the QR Code cannot be decoded @throws ChecksumException if error correction fails
Implementation
DecoderResult decode(
List<List<bool>> image, [
DecodeHint? hints,
]) {
return decodeMatrix(BitMatrix.parse(image), hints);
}