instance property

The default instance of MyUninstallPluginPlatform to use.

Defaults to MethodChannelMyUninstallPlugin.

Implementation

static MyUninstallPluginPlatform get instance => _instance;
set instance (MyUninstallPluginPlatform instance)

Platform-specific implementations should set this with their own platform-specific class that extends MyUninstallPluginPlatform when they register themselves.

Implementation

static set instance(MyUninstallPluginPlatform instance) {
  PlatformInterface.verifyToken(instance, _token);
  _instance = instance;
}