scanImageBytes method
Scan an encoded image in any format supported by the dart image library to update QR code and location
Implementation
scanImageBytes(Uint8List bytes) {
final image = decodeImage(bytes);
scanImage(image);
if (location == null && couldBeQRCodeBMPWithHiddenTransparency(bytes)) {
scanImage(fixQRCodeBMPWithHiddenTransparency(bytes));
}
}