copy method Null safety

  1. @override
XmlDocumentFragment copy()
override

Return a copy of this node and all its children.

Implementation

@override
XmlDocumentFragment copy() =>
    XmlDocumentFragment(children.map((each) => each.copy()));