printBitmapCPCL static method
Future<int>
printBitmapCPCL({
- dynamic bytes,
- dynamic x,
- dynamic y,
- dynamic type,
- dynamic compressType,
- dynamic light,
Implementation
static Future<int> printBitmapCPCL(
{bytes, x, y, type, compressType, light}) async {
// final Directory directory = await getApplicationDocumentsDirectory();
// final File file = File('${directory.path}/img.jpg');
// await file.writeAsBytes(bytes);
final int p = await _channel.invokeMethod('printBitmapCPCL', {
'bytes': bytes,
'x': x,
'y': y,
'type': type,
'compressType': compressType,
'light': light,
});
return p;
}