GroupAction class abstract

Constructors

GroupAction([dynamic updates(GroupActionBuilder b)])
factory

Properties

alert String?
The alert effect, which is a temporary change to the bulb’s state. This can take one of the following values:
no setter
brightness int?
The average brightness of the group (off is brightness 0, if device does not support “bri”: on is brightness 255). Unreachable lights are not used in calculation. If all lights are unreachable brightness is 0.
no setter
colorMode String?
Indicates the color mode in which the light is working, this is the last command type it received. Values are “hs” for Hue and Saturation, “xy” for XY and “ct” for Color Temperature. This parameter is only present when the light supports at least one of the values.
no setter
ct int?
The Mired Color temperature of the light. 2012 connected lights are capable of 153 (6500K) to 500 (2000K).
no setter
effect String?
The dynamic effect of the light, can either be “none” or “colorloop”. If set to colorloop, the light will cycle through all hues using the current brightness and saturation settings.
no setter
hashCode int
The hash code for this object.
no setterinherited
hue int?
The hue value is a wrapping value between 0 and 65535. Both 0 and 65535 are red, 25500 is green and 46920 is blue. e.g. “hue”: 50000 will set the light to a specific hue.
no setter
on bool?
On/Off state of the group. On=true, Off=false.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
saturation int?
Saturation of the group. 254 is the most saturated (colored) and 0 is the least saturated (white).
no setter
scene String?
The scene identifier if the scene you wish to recall.
no setter
xy → BuiltList<double>?
The x,y coordinate of a color in CIE color space.
no setter

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
rebuild(dynamic updates(GroupActionBuilder)) GroupAction
Rebuilds the instance.
inherited
toBridgeObject({String? action}) Map<String, dynamic>
toBuilder() GroupActionBuilder
Converts the instance to a builder B.
inherited
toString() String
A string representation of this object.
inherited

Operators

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

Static Properties

serializer → Serializer<GroupAction>
no setter

Static Methods

fromJson(String jsonString) GroupAction?