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