childAtIndex method

NodeV0? childAtIndex(
  1. int index
)

Implementation

NodeV0? childAtIndex(int index) {
  if (children.length <= index || index < 0) {
    return null;
  }

  return children.elementAt(index);
}