visitDeclaration method Null safety

  1. @override
void visitDeclaration(
  1. XmlDeclaration node
)
override

Visit an XmlDeclaration node.

Implementation

@override
void visitDeclaration(XmlDeclaration node) {
  buffer.write(XmlToken.openDeclaration);
  writeAttributes(node);
  buffer.write(XmlToken.closeDeclaration);
}