PrintCommand.image constructor
Implementation
factory PrintCommand.image(
String imagePath, {
double? x,
double? y,
double? width,
double? height,
}) {
return PrintCommand(
text: '',
isImage: true,
imagePath: imagePath,
x: x,
y: y,
imageWidth: width,
imageHeight: height,
);
}