FakeTech.nfcBarcode constructor

FakeTech.nfcBarcode({
  1. NfcBarcodeType type = NfcBarcodeType.kovio,
  2. Uint8List? barcode,
})

android.nfc.tech.NfcBarcode. Only a session that asked for barcode tags sees one.

Implementation

factory FakeTech.nfcBarcode({NfcBarcodeType type = NfcBarcodeType.kovio, Uint8List? barcode}) => FakeTech._(
  'NfcBarcode',
  (data) => data.nfcBarcode = NfcBarcodePigeon(type: _nfcBarcodeTypeToWire(type), barcode: barcode),
);