watch<T> method
Reads the current value of node, subscribing to future updates
(when used inside ZenithAuthorizeView).
Implementation
T watch<T>(ZenithNode<T> node) {
_cache[node] = node.value;
return node.value;
}
Reads the current value of node, subscribing to future updates
(when used inside ZenithAuthorizeView).
T watch<T>(ZenithNode<T> node) {
_cache[node] = node.value;
return node.value;
}