PowerAwarenessState class

This default power-awareness schema operates with four power states:

  0%   10%        30%        50%                         100%
  +-----+----------+----------+----------------------------+
   none   minimum     light              normal
Implementers

Constructors

PowerAwarenessState()

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
schema SamplingSchema
read-only

Methods

adapt(int level) PowerAwarenessState
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
A string representation of this object. [...]
inherited

Operators

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

Static Properties

instance PowerAwarenessState
read / write

Constants

LIGHT_SAMPLING_LEVEL → const int
50
MINIMUM_SAMPLING_LEVEL → const int
30
NO_SAMPLING_LEVEL → const int
10