detach method

void detach()

Implementation

void detach() {
  // Clear reference to it's parent.
  parent = null;
}