readSingleBlock method
Future<Uint8List>
readSingleBlock({
- required Set<
Iso15693RequestFlag> requestFlags, - required int blockNumber,
Sends the Read Single Block command to the tag.
This uses NFCISO15693Tag#readSingleBlock API on iOS.
Implementation
Future<Uint8List> readSingleBlock({
required Set<Iso15693RequestFlag> requestFlags,
required int blockNumber,
}) async {
return channel.invokeMethod('Iso15693#readSingleBlock', {
'handle': _tag.handle,
'requestFlags':
requestFlags.map((e) => $Iso15693RequestFlagTable[e]).toList(),
'blockNumber': blockNumber.toUnsigned(8),
}).then((value) => value!);
}