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