Google is committed to advancing racial equity for Black communities. See how.

addNode method

*[<Null safety>](*
  • @override

int addNode (String name, Vnode node)


Adds a directory entry associating the given name with node. It is ok to add the same Vnode multiple times with different names.

Returns ZX.OK on success. Returns ZX.ERR_INVALID_ARGS if name is illegal object name. Returns ZX.ERR_ALREADY_EXISTS if there is already a node with the given name.


int addNode(String name, Vnode node) {
  if (_inheritedNodes.contains(name)) {
  } else {
    return super.addNode(name, node);