visitComment method Null safety

  1. @override
void visitComment(
  1. XmlComment node
)
override

Visit an XmlComment node.

Implementation

@override
void visitComment(XmlComment node) {
  buffer.write(XmlToken.openComment);
  buffer.write(node.text);
  buffer.write(XmlToken.closeComment);
}