extendedLockBlock method

Future<void> extendedLockBlock({
  1. required Set<Iso15693RequestFlag> requestFlags,
  2. required int blockNumber,
})

Sends the Extended Lock Block command to the tag.

This uses NFCISO15693Tag#extendedLockBlock API on iOS.

Implementation

Future<void> extendedLockBlock({
  required Set<Iso15693RequestFlag> requestFlags,
  required int blockNumber,
}) async {
  return channel.invokeMethod('Iso15693#extendedLockBlock', {
    'handle': _tag.handle,
    'requestFlags':
        requestFlags.map((e) => $Iso15693RequestFlagTable[e]).toList(),
    'blockNumber': blockNumber,
  });
}