createQRCode method
Implementation
@override
Future<Uint8List?> createQRCode(String data, int barcodeFormat,
int errorCorrectionLevel, int widthAndHeight) async {
var methodName = 'createQRCode';
var params = {
'data': data,
"barcodeFormat": barcodeFormat,
"errorCorrectionLevel": errorCorrectionLevel,
"widthAndHeight": widthAndHeight
};
return await methodChannel.invokeMethod<Uint8List>(methodName, params);
}