updateShouldNotifyDependent method

  1. @override
bool updateShouldNotifyDependent(
  1. covariant PropertyChangeModel<T, S> oldWidget,
  2. 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;
}