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