reparentChildren method
Move all the children of the current node to newParent
.
This is needed so that trees that don't store text as nodes move the
text in the correct way.
Copied from Element
.
Implementation
@override
void reparentChildren(Node newParent) => _element.reparentChildren(newParent);