vKey function
Creates a virtual node from data using the VNodeFactory and assigns a
key to this node.
Implementation
VNode vKey(Object key, Object data) {
final vNode = VNodeFactory.createVNode(data);
vNode.key = key;
return vNode;
}
Creates a virtual node from data using the VNodeFactory and assigns a
key to this node.
VNode vKey(Object key, Object data) {
final vNode = VNodeFactory.createVNode(data);
vNode.key = key;
return vNode;
}