printQrcode method

Future<GertecResponse> printQrcode({
  1. int width = 100,
  2. int height = 100,
  3. required String text,
})

Implementation

Future<GertecResponse> printQrcode(
    {int width = 100, int height = 100, required String text}) async {
  return GertecResponse.fromJson(await GertecPrinterPlatform.instance
          .printQrcode(width: width, height: height, text: text) ??
      '{}');
}