PrintCommand.qrCode constructor
PrintCommand.qrCode(})
Implementation
factory PrintCommand.qrCode(
String data, {
double? x,
double? y,
String? size = "M",
String? errorCorrection = "5",
String? model = "M1",
int? rotation = 0,
}) {
return PrintCommand(
text: '',
isQRCode: true,
barcodeData: data,
x: x,
y: y,
rotation: rotation,
);
}