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