writeWithoutEncryption method

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

Writes blocks to services that need no authentication.

blockData must hold one 16-byte block per entry in blockList, in the same order.

Implementation

Future<FeliCaStatusFlag> writeWithoutEncryption({
  required List<Uint8List> serviceCodeList,
  required List<Uint8List> blockList,
  required List<Uint8List> blockData,
}) async {
  final response = await iosApi.felicaWriteWithoutEncryption(_handle, serviceCodeList, blockList, blockData);
  return FeliCaStatusFlag(statusFlag1: response.statusFlag1, statusFlag2: response.statusFlag2);
}