visitDoctype method Null safety

  1. @override
XmlDoctype visitDoctype(
  1. XmlDoctype node
)
override

Visit an XmlDoctype node.

Implementation

@override
XmlDoctype visitDoctype(XmlDoctype node) => XmlDoctype(node.text);