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