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