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