from static method
Creates an instance of this class for the given tag.
Returns null if the tag is not compatible.
Implementation
static FeliCaIOS? from(NfcTag tag) {
// ignore: invalid_use_of_protected_member
final data = tag.data as PigeonTag?;
final tech = data?.feliCa;
if (data == null || tech == null) return null;
return FeliCaIOS._(
data.handle,
currentSystemCode: tech.currentSystemCode,
currentIDm: tech.currentIDm,
);
}