readWithoutEncryption method

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

DOC:

Implementation

Future<FeliCaReadWithoutEncryptionResponseIOS> readWithoutEncryption({
  required List<Uint8List> serviceCodeList,
  required List<Uint8List> blockList,
}) {
  return hostApi
      .feliCaReadWithoutEncryption(
        handle: _handle,
        serviceCodeList: serviceCodeList,
        blockList: blockList,
      )
      .then((value) => FeliCaReadWithoutEncryptionResponseIOS(
            statusFlag1: value.statusFlag1,
            statusFlag2: value.statusFlag2,
            blockData: List.from(value.blockData),
          ));
}