removeFromParent method

void removeFromParent ()

Removes this node from its parent node.

removeFromParent();

Implementation

void removeFromParent() {
  assert(_parent != null);
  _parent.removeChild(this);
}