copy method Null safety

  1. @override
XmlCDATA copy()
override

Return a copy of this node and all its children.

Implementation

@override
XmlCDATA copy() => XmlCDATA(text);