updateShouldNotifyDependent method Null safety

  1. @protected
bool updateShouldNotifyDependent(
  1. covariant InheritedModel<T> oldWidget,
  2. Set<T> dependencies
)

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

Implementation

@protected
bool updateShouldNotifyDependent(covariant InheritedModel<T> oldWidget, Set<T> dependencies);