requestService method

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

Sends the Request Service command to the tag.

This uses NFCFeliCaTag#requestService API on iOS.

Implementation

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