void remove()

Remove this node from it's parent.

Source

void remove() {
  provider.removeNode(path);
}