LightColorTemperatureDelta class

Represents the change in the mirek value for a light.

Constructors

LightColorTemperatureDelta({required LightColorTemperatureDeltaAction action, required int? delta})
Creates a LightColorTemperatureDelta object.
LightColorTemperatureDelta.empty()
Creates an empty LightColorTemperatureDelta object.
LightColorTemperatureDelta.fromJson(Map<String, dynamic> dataMap)
Creates a LightColorTemperatureDelta object from the JSON response to a GET request.
factory

Properties

action LightColorTemperatureDeltaAction
Describes the action be taken with a light's color temperature.
getter/setter pair
delta int?
Mirek delta to current mirek.
getter/setter pair
hashCode int
The hash code for this object.
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

copyWith({LightColorTemperatureDeltaAction? action, int? delta = -1, bool copyOriginalValues = true}) LightColorTemperatureDelta
Returns a copy of this object with its field values replaced by the ones provided to this method.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
refreshOriginals() → void
Called after a successful PUT request, this method refreshed the "original" data in this object.
toJson({OptimizeFor optimizeFor = OptimizeFor.put}) Map<String, dynamic>
Converts this object into JSON format.
toString() String
A string representation of this object.
override

Operators

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