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