checkNoParent static method
void
checkNoParent(
- XmlParentBase node
Ensure that node
has no parent.
Implementation
static void checkNoParent(XmlParentBase node) {
if (node.parent != null) {
throw XmlParentException(
'Node already has a parent, copy or remove it first: $node');
}
}