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