instance property
NfcCardPlatform
get
instance
The default instance of NfcCardPlatform to use.
Defaults to MethodChannelNfcAndroid.
Implementation
static NfcCardPlatform get instance => _instance;
set
instance
(NfcCardPlatform instance)
Platform-specific implementations should set this with their own platform-specific class that extends NfcCardPlatform when they register themselves.
Implementation
static set instance(NfcCardPlatform instance) {
PlatformInterface.verifyToken(instance, _token);
_instance = instance;
}