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