from static method

NfcV? from(
  1. NfcTag tag
)

Returns an instance for tag, or null when the tag does not answer to NfcV.

Implementation

static NfcV? from(NfcTag tag) {
  final data = tag.data.nfcV;
  if (data == null) return null;
  return NfcV._(
    tag.data.handle,
    dsfId: data.dsfId,
    responseFlags: data.responseFlags,
    maxTransceiveLength: data.maxTransceiveLength,
  );
}