requestServiceV2 method

Future<FeliCaRequestServiceV2Response> requestServiceV2({
  1. required List<Uint8List> nodeCodeList,
})

As requestService, but also reports which encryption each node uses.

Implementation

Future<FeliCaRequestServiceV2Response> requestServiceV2({required List<Uint8List> nodeCodeList}) async {
  final response = await iosApi.felicaRequestServiceV2(_handle, nodeCodeList);
  return FeliCaRequestServiceV2Response(
    statusFlag1: response.statusFlag1,
    statusFlag2: response.statusFlag2,
    encryptionIdentifier: response.encryptionIdentifier,
    nodeKeyVersionListAes: response.nodeKeyVersionListAes,
    nodeKeyVersionListDes: response.nodeKeyVersionListDes,
  );
}