LightPowerUpOnMode enum
Describes the on/off state the light should take on power up.
Values
- on → const LightPowerUpOnMode
-
On will use the value specified in the "on" property. When setting mode "on", the on property must be included.
const LightPowerUpOnMode("on")
- toggle → const LightPowerUpOnMode
-
Toggle will alternate between on and off on each subsequent power toggle.
const LightPowerUpOnMode("toggle")
- previous → const LightPowerUpOnMode
-
Previous will return to the state it was in before powering off.
const LightPowerUpOnMode("previous")
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- value → String
-
The string representation of this LightPowerUpOnMode.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent 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 Methods
-
fromString(
String value) → LightPowerUpOnMode -
Get a LightPowerUpOnMode from a given string
value
.
Constants
-
values
→ const List<
LightPowerUpOnMode> - A constant List of the values in this enum, in order of their declaration.