existingNodeWithId method

ZwNode? existingNodeWithId(
  1. int nodeId
)

Return the node with the specified nodeId or null if none.

Implementation

ZwNode? existingNodeWithId(int nodeId) =>
    nodeId < _nodes.length ? _nodes[nodeId] : null;