nodeWithId method

ZwNode nodeWithId(
  1. int nodeId
)

Return the node with the specified nodeId, creating an UnknownNode if a node with that id does not already exist.

Implementation

ZwNode nodeWithId(int nodeId) {
  return existingNodeWithId(nodeId) ?? createUnknownNode(nodeId);
}