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