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