LightPowerUpColorMode enum
Describes the color mode state to activate after power up.
Constructors
- LightPowerUpColorMode(String value)
-
const
Values
- colorTemperature → const LightPowerUpColorMode
-
Color temperature will set the color temperature to the specified value after power up.
When setting color_temperature, the color_temperature property must be included.
const LightPowerUpColorMode("color_temperature")
- color → const LightPowerUpColorMode
-
Color will set the color to the specified value after power up.
When setting color mode, the color property must be included.
const LightPowerUpColorMode("color")
- previous → const LightPowerUpColorMode
-
Previous will set color to the state it was in before powering off.
const LightPowerUpColorMode("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 LightPowerUpColorMode.
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) → LightPowerUpColorMode -
Get a LightPowerUpColorMode from a given string
value
.
Constants
-
values
→ const List<
LightPowerUpColorMode> - A constant List of the values in this enum, in order of their declaration.