printQrcode method
Prints a QR code with optional SunmiQrcodeStyle.
text: The QR code content.
style: Optional style for the QR code.
Returns a String indicating the result or null if unsuccessful.
Implementation
Future<String?> printQrcode(
{required String text, SunmiQrcodeStyle? style}) async {
return await SunmiPrinter.printQRCode(text, style: style);
}