hasUpdate property
bool
get
hasUpdate
Whether or not this object has been updated.
If true
, then the data in this object differs from what is on the
bridge.
Implementation
bool get hasUpdate =>
!(const DeepCollectionEquality.unordered()
.equals(colors, _originalColors)) ||
colors.any((color) => color.hasUpdate) ||
!(const DeepCollectionEquality.unordered()
.equals(dimmings, _originalDimmings)) ||
dimmings.any((dimming) => dimming.hasUpdate) ||
!(const DeepCollectionEquality.unordered()
.equals(colorTemperatures, _originalColorTemperatures)) ||
colorTemperatures.any((colorTemp) => colorTemp.hasUpdate);