updateShouldNotifyDependent method Null safety
- covariant InheritedModel<
T> oldWidget, - Set<
T> dependencies 
protected">@protected
    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);