addQrCode method

void addQrCode(
  1. String qrCodeText, {
  2. int? size = 200,
})

Implementation

void addQrCode(String qrCodeText, {int? size = 200}) async {
  commands.add({
    'type': 'qrCode',
    'size': size,
    'value': qrCodeText,
  });
}