requestSpecificationVersion method

Future<FeliCaRequestSpecificationVersionResponse> requestSpecificationVersion()

Sends the Request Specification Version command to the tag.

This uses NFCFeliCaTag#requestSpecificationVersion API on iOS.

Implementation

Future<FeliCaRequestSpecificationVersionResponse>
    requestSpecificationVersion() async {
  return channel.invokeMethod('FeliCa#requestSpecificationVersionResponse', {
    'handle': _tag.handle,
  }).then((value) =>
      $GetFeliCaRequestSpecificationVersionResponse(Map.from(value)));
}