doctypeElement property
Return the XmlDoctype element, or null if not defined.
For example, the following code prints <!DOCTYPE html>:
var xml = '' ''; print(XmlDocument.parse(xml).doctypeElement);
Implementation
@override
final XmlDoctypeNaturalImpl? doctypeElement;