remove method

bool remove()

Removes this node from parent.

Implementation

bool remove() {
  var parent = this.parent;
  if (parent == null) return false;
  return parent.removeNode(this);
}