printImage method
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});
}