requestServiceV2 method

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

Sends the Request Service V2 command to the tag.

This uses NFCFeliCaTag#requestServiceV2 API on iOS.

Implementation

Future<FeliCaRequestServiceV2Response> requestServiceV2({
  required List<Uint8List> nodeCodeList,
}) async {
  return channel.invokeMethod('FeliCa#requestServiceV2', {
    'handle': _tag.handle,
    'nodeCodeList': nodeCodeList,
  }).then((value) => $GetFeliCaRequestServiceV2Response(Map.from(value)));
}