updateShouldNotifyDependent method

  1. @protected
bool updateShouldNotifyDependent(
  1. InheritedMediator<TModel> oldWidget,
  2. HashSet<Object> dependencies
)

Return true if the changes between this model and oldWidget match any of the dependencies.

Implementation

@protected
bool updateShouldNotifyDependent(
    InheritedMediator<TModel> oldWidget, HashSet<Object> dependencies) {
  return dependencies.intersection(_frameAspects).isNotEmpty;
}