PowerSettingWindowsPlatform class abstract

Inheritance
  • Object
  • PlatformInterface
  • PowerSettingWindowsPlatform
Implementers

Constructors

PowerSettingWindowsPlatform.new()
Constructs a PowerSettingWindowsPlatform.

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

addObserver(PowerSettingObserver observer) → void
Registers the given object as a power setting observer. Power setting observers are notified when various power setting events occur.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
removeObserver(PowerSettingObserver observer) → void
Unregisters the given observer. This should be used sparingly as it is relatively expensive (O(N) in the number of registered observers).
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Properties

instance PowerSettingWindowsPlatform
The default instance of PowerSettingWindowsPlatform to use.
getter/setter pair