instance property

The default instance of AppActivityLauncherPlatform to use.

Defaults to MethodChannelAppActivityLauncher.

Implementation

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

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

Implementation

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