from static method

FeliCa? from(
  1. NfcTag tag
)

Returns an instance for tag, or null when the tag is not a FeliCa card.

Implementation

static FeliCa? from(NfcTag tag) {
  final data = tag.data.felica;
  if (data == null) return null;
  return FeliCa._(tag.data.handle, currentSystemCode: data.currentSystemCode, currentIDm: data.currentIDm);
}