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