printImage method

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

Prints an image from a base64 encoded string.

Parameters:

  • base64Encoded The base64 encoded image data.

Implementation

@override
Future<void> printImage(String base64Encoded, double width) async {
  await methodChannel.invokeMethod<void>(
      'printImage', {'data': base64Encoded, 'width': width});
}