hasUpdate property
Whether or not this object has been updated.
If true
, then the data in this object differs from what is on the
bridge.
Implementation
@override
bool get hasUpdate =>
super.hasUpdate ||
metadata != _originalMetadata ||
metadata.hasUpdate ||
configurationType != _originalConfigurationType ||
activeStreamer.hasUpdate ||
streamProxy != _originalStreamProxy ||
streamProxy.hasUpdate ||
!(const DeepCollectionEquality.unordered()
.equals(locations, _originalLocations)) ||
locations.any((location) => location.hasUpdate) ||
lightServices.any((lightService) => lightService.hasUpdate) ||
action != _originalAction;