hasUpdate property

  1. @override
bool get hasUpdate
override

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 ||
    group.hasUpdate ||
    metadata != _originalMetadata ||
    metadata.hasUpdate ||
    const DeepCollectionEquality.unordered()
        .equals(weekTimeslots, _originalWeekTimeslots) ||
    weekTimeslots.any((weekTimeslot) => weekTimeslot.hasUpdate) ||
    recallAction != _originalRecallAction;