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