MifareUltralight constructor

const MifareUltralight({
  1. required NfcTag tag,
  2. required Uint8List identifier,
  3. required int type,
  4. required int maxTransceiveLength,
  5. required int timeout,
})

Constructs an instance with the given values for testing.

The instances constructs by this way are not valid in the production environment. Only instances obtained from the MifareUltralight.from are valid.

Implementation

const MifareUltralight({
  required NfcTag tag,
  required this.identifier,
  required this.type,
  required this.maxTransceiveLength,
  required this.timeout,
}) : _tag = tag;