updateShouldNotifyDependent method
bool
updateShouldNotifyDependent(
- covariant ProviderWidget oldWidget,
- Set<
Type> dependencies
override
Return true if the changes between this model and oldWidget
match any
of the dependencies
.
Implementation
@override
bool updateShouldNotifyDependent(ProviderWidget oldWidget, Set<Type> dependencies) =>
dependencies.any((it) => values[it] != oldWidget.values[it]);