LightColorXy class

Represents CIE XY gamut position.

Constructors

LightColorXy({required double x, required double y})
Creates a LightColorXy object.
LightColorXy.empty()
Creates an empty LightColorXy object.
LightColorXy.fromJson(Map<String, dynamic> dataMap)
Creates a LightColorXy object from the JSON response to a GET request.
factory

Properties

hashCode int
The hash code for this object.
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
x double
X position in color gamut.
getter/setter pair
y double
Y position in color gamut.
getter/setter pair

Methods

copyWith({double? x, double? y, bool copyOriginalValues = true}) LightColorXy
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