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