printImage method
Print an image
Implementation
@override
Future<bool> printImage(
String imagePath, {
double? x,
double? y,
double? width,
double? height,
}) async {
final result = await methodChannel.invokeMethod<bool>('printImage', {
'imagePath': imagePath,
'x': x,
'y': y,
'width': width,
'height': height,
});
return result ?? false;
}