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 ||
!(const DeepCollectionEquality.unordered()
.equals(children, _originalChildren)) ||
children.any((child) => child.hasUpdate) ||
services.any((service) => service.hasUpdate) ||
metadata != _originalMetadata ||
metadata.hasUpdate;