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