keepDependency method
void
keepDependency()
Tell the framework that the current recreation didn't change the dependency, so that dependency check is skipped for once. This is rarely needed, but could be useful if the recreation makes conditional side effects outside of the graph.
Implementation
void keepDependency() {
assert(_owner != null, 'keepDependency is called outside of create method');
_keepDependency.add(_owner!);
}