visitCDATA method Null safety

  1. @override
void visitCDATA(
  1. XmlCDATA node
)
override

Visit an XmlCDATA node.

Implementation

@override
void visitCDATA(XmlCDATA node) {
  buffer.write(XmlToken.openCDATA);
  buffer.write(node.text);
  buffer.write(XmlToken.closeCDATA);
}