moveUp method

bool moveUp()

Moves this node up in the parent children list.

Implementation

bool moveUp() {
  var parent = this.parent;
  if (parent == null) return false;
  return parent.moveUpNode(this);
}