IsoDep constructor

const IsoDep({
  1. required NfcTag tag,
  2. required Uint8List identifier,
  3. required Uint8List? hiLayerResponse,
  4. required Uint8List? historicalBytes,
  5. required bool isExtendedLengthApduSupported,
  6. required int maxTransceiveLength,
  7. 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 IsoDep.from are valid.

Implementation

const IsoDep({
  required NfcTag tag,
  required this.identifier,
  required this.hiLayerResponse,
  required this.historicalBytes,
  required this.isExtendedLengthApduSupported,
  required this.maxTransceiveLength,
  required this.timeout,
}) : _tag = tag;