writeWithoutEncryption method

Future<FeliCaStatusFlag> writeWithoutEncryption({
  1. required List<Uint8List> serviceCodeList,
  2. required List<Uint8List> blockList,
  3. required List<Uint8List> blockData,
})

Sends the Write Without Encryption command to the tag.

This uses NFCFeliCaTag#writeWithoutEncryption API on iOS.

Implementation

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