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