updateShouldNotifyDependent method
bool
updateShouldNotifyDependent(
- covariant ScopeModel oldWidget,
- Set<
ValueRef> dependencies
override
Return true if the changes between this model and oldWidget match any
of the dependencies.
Implementation
bool updateShouldNotifyDependent(ScopeModel oldWidget, Set<ValueRef> dependencies) {
for (final ValueRef dependency in dependencies) {
final GetAny get = Get.custom(dependency);
if (_select(get) != oldWidget._select(get)) return true;
}
return false;
}