PrintCommand.barcode constructor
Implementation
factory PrintCommand.barcode(
String data, {
double? x,
double? y,
int? rotation,
String? codePage,
}) {
return PrintCommand(
text: '',
isBarcode: true,
barcodeData: data,
x: x,
y: y,
rotation: rotation,
codePage: codePage,
);
}