printImage method Null safety
*printImage
You can print an image from web or from asset very easy with a File
Implementation
Future<int> printImage(File image, bool isBase64) async {
await reset();
Map<String, dynamic> mapParam = new Map();
mapParam['path'] = image.path;
mapParam['isBase64'] = isBase64;
return await platform?.invokeMethod('printImage', {'imageArgs': mapParam});
}