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

removeNode method

*[<Null safety>](*

int removeNode (String name)

Removes a directory entry with the given name.

Returns ZX.OK on success. Returns ZX.RR_NOT_FOUND if there is no node with the given name.


int removeNode(String name) {
  var e = _entries.remove(name);
  if (e == null) {
    return ZX.ERR_NOT_FOUND;
  return ZX.OK;