readWithoutEncryption method

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

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),
        ),
      );
}