attach method

void attach(
  1. Node node
)

Adds this node to the target node.

Implementation

void attach(Node node) => node.add(this);