copy method

  1. @override
XmlDeclaration copy()
override

Return a copy of this node and all its children.

Implementation

@override
XmlDeclaration copy() =>
    XmlDeclaration(attributes.map((each) => each.copy()));