KeyLightOptions class
Current configuration of an Elgato Key Light. When updating the light, please use the updateWith method.
Constructors
- KeyLightOptions.fromJSON(dynamic json)
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
lights
→ Iterable<
KeyLightOption> -
For each light, weather it's on, its brightness and its temperature
final
- number → int
-
The number of lights (for key lights, there is only one light)
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJSON(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
override
-
updateWith(
{bool? on, int? brightness, int? temperature}) → KeyLightOptions - When updating the light, please use this method.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited