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