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