readWithoutEncryption method

Future<FeliCaReadWithoutEncryptionResponse> readWithoutEncryption({
  1. required List<Uint8List> serviceCodeList,
  2. required List<Uint8List> blockList,
})

Sends the Read Without Encryption command to the tag.

This uses NFCFeliCaTag#readWithoutEncryption API on iOS.

Implementation

Future<FeliCaReadWithoutEncryptionResponse> readWithoutEncryption({
  required List<Uint8List> serviceCodeList,
  required List<Uint8List> blockList,
}) async {
  return channel.invokeMethod('FeliCa#readWithoutEncryption', {
    'handle': _tag.handle,
    'serviceCodeList': serviceCodeList,
    'blockList': blockList,
  }).then(
      (value) => $GetFeliCaReadWithoutEncryptionResponse(Map.from(value)));
}