getSystemInfo method

Future<Iso15693SystemInfo> getSystemInfo({
  1. required Set<Iso15693RequestFlag> requestFlags,
})

Sends the Get System Info command to the tag.

This uses NFCISO15693Tag#getSystemInfo API on iOS.

Implementation

Future<Iso15693SystemInfo> getSystemInfo({
  required Set<Iso15693RequestFlag> requestFlags,
}) async {
  return channel.invokeMethod('Iso15693#getSystemInfo', {
    'handle': _tag.handle,
    'requestFlags':
        requestFlags.map((e) => $Iso15693RequestFlagTable[e]).toList(),
  }).then((value) => $GetIso15693SystemInfo(Map.from(value!)));
}