print method

void print (List<String> list, { String qrCodePattern: '^http://www.fazenda.pr.gov.br/nfce/qrcode\\?.*\$', String barcodePattern: '^\\d*\$' })

Print a list of strings. Uses the qrCodePattern to match the qrCode. If matches the qrcode is printed. Uses the barcodePattern to match the barcode. If matches the barcode is printed.

Implementation

static void print(
  List<String> list, {
  String qrCodePattern = '\\d{44}\\|.*\$',
  String barcodePattern = '^\\d*\$',
}) async =>
    await _channel.invokeMethod('print', {
      'list': list,
      'qrCodePattern': qrCodePattern,
      'barcodePattern': barcodePattern,
    });