posPrintImage method

  1. @override
Future<void> posPrintImage(
  1. String base64Encoded,
  2. double width
)
override

Sends an image to the POS printer.

base64Encoded is the image in base64 format, and width is the target width.

Implementation

@override
Future<void> posPrintImage(String base64Encoded, double width) async {
  await _channel.invokeMethod('pos_printImage', {
    'base64': base64Encoded,
    'width': width,
  });
}