LightColorTemperatureMirekSchema class

Represents the mirek capabilities of a light.

Constructors

LightColorTemperatureMirekSchema({required int min, required int max})
Creates a LightColorTemperatureMirekSchema object.
const
LightColorTemperatureMirekSchema.empty()
Creates an empty LightColorTemperatureMirekSchema object.
const
LightColorTemperatureMirekSchema.fromJson(Map<String, dynamic> dataMap)
Creates a LightColorTemperatureMirekSchema object from the JSON response to a GET request.
factory

Properties

hashCode int
The hash code for this object.
no setteroverride
max int
The maximum color temperature the light supports.
final
min int
The minimum color temperature the light supports.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

copyWith({int? min, int? max}) LightColorTemperatureMirekSchema
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
toJson() 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