MiFare constructor

const MiFare({
  1. required NfcTag tag,
  2. required MiFareFamily mifareFamily,
  3. required Uint8List identifier,
  4. required Uint8List? historicalBytes,
})

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 MiFare.from are valid.

Implementation

const MiFare({
  required NfcTag tag,
  required this.mifareFamily,
  required this.identifier,
  required this.historicalBytes,
}) : _tag = tag;