instance property

The default instance of InstallTimePluginPlatform to use.

Defaults to MethodChannelInstallTimePlugin.

Implementation

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

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

Implementation

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