QRImage.withMaskPattern constructor
QRImage.withMaskPattern(
- QRCodeGenerate qrCode,
- int maskPattern
Generates a specific image for the qrCode
and maskPattern
.
Implementation
QRImage.withMaskPattern(QRCodeGenerate qrCode, this.maskPattern)
: assert(maskPattern >= 0 && maskPattern <= 7),
moduleCount = qrCode.moduleCount,
typeNumber = qrCode.typeNumber,
errorCorrectLevel = qrCode.errorCorrectLevel {
_makeImpl(maskPattern, qrCode.dataCache, false);
}