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