set<T> method
Safely sets node to value only if this ref is still mounted.
Silently drops the update if the underlying scope/container has been disposed, so callers never need to manually check isMounted before mutating state.
Implementation
void set<T>(ZenithNode<T> node, T value) {
if (!_isMounted) return;
node.set(value);
}