setParent method

void setParent(
  1. Node parent
)

Implementation

void setParent(Node parent) {
  assert(_parent == null);
  _parent = parent;
}