printBitmap method
Prints an image (bitmap) provided as a byte array.
bytes
The byte data representing the image to print.
Returns an int representing the result of the print operation, or null if it fails.
Implementation
@override
Future<int?> printBitmap(Uint8List bytes) async {
final result =
await methodChannel.invokeMethod<int?>('printBitmap', {"bytes": bytes});
return result;
}