doctypeElement property

XmlDoctype? get doctypeElement

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

XmlDoctype? get doctypeElement;