posPrintQRCode method
Future<void>
posPrintQRCode(
- String code, {
- int unitSize = 5,
- ErrLevel errLevel = ErrLevel.L,
- PStringEncoding encoding = PStringEncoding.utf8,
Prints a QR code to the POS printer.
code: The content of the QR code.unitSize: Size of each module in the QR code.errLevel: Error correction level (L, M, Q, H).encoding: Encoding of the content string.
Implementation
Future<void> posPrintQRCode(
String code, {
int unitSize = 5,
ErrLevel errLevel = ErrLevel.L,
PStringEncoding encoding = PStringEncoding.utf8,
}) {
throw UnimplementedError('printQrCode() has not been implemented.');
}