tsplPrintImage method

  1. @override
Future<void> tsplPrintImage(
  1. String base64Encoded,
  2. int width
)
override

Sends a base64-encoded image to the TSPL printer.

Implementation

@override
Future<void> tsplPrintImage(String base64Encoded, int width) async {
  await _channel.invokeMethod('tspl_printImage', {
    'base64': base64Encoded,
    'width': width,
  });
}