removeParent method

void removeParent()

Removes parent's id from this component data.

You should use it only with removeChild on the parent's component.

Implementation

void removeParent() {
  parentId = null;
}