instance property

The default instance of AppInstallerPlusPlatform to use.

Defaults to MethodChannelAppInstallerPlus.

Implementation

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

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

Implementation

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