printQrCode method
Prints a QR code with the provided parameters.
text The data to encode in the QR code.
width The width of the QR code.
height The height of the QR code.
Returns an int representing the result of the print operation, or null if it fails.
Implementation
@override
Future<int?> printQrCode(String text, int width, int height) async {
final result = await methodChannel.invokeMethod<int?>('printQrCode', {
"text": text,
"width": width,
"height": height,
});
return result;
}