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