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