copy method
Return a copy of this node and all its children.
Implementation
@override
XmlDocument copy() => XmlDocument(children.map((each) => each.copy()));
Return a copy of this node and all its children.
@override
XmlDocument copy() => XmlDocument(children.map((each) => each.copy()));