updateShouldNotifyDependent method
bool
updateShouldNotifyDependent(
- covariant PropertyChangeModel<
T, S> oldWidget, - Set<
S> dependencies
override
Return true if the changes between this model and oldWidget
match any
of the dependencies
.
Implementation
@override
bool updateShouldNotifyDependent(PropertyChangeModel<T, S> oldWidget, Set<S> dependencies) {
return dependencies.intersection(_state._properties).isNotEmpty;
}