XmlDocumentSyntheticImpl constructor

XmlDocumentSyntheticImpl(
  1. Iterable<XmlNode> childrenIterable
)

Implementation

XmlDocumentSyntheticImpl(
  Iterable<XmlNode> childrenIterable,
) {
  children = XmlNodeList<XmlNode>(this, {
    XmlNodeType.CDATA,
    XmlNodeType.COMMENT,
    XmlNodeType.DECLARATION,
    XmlNodeType.DOCUMENT_TYPE,
    XmlNodeType.ELEMENT,
    XmlNodeType.PROCESSING,
    XmlNodeType.TEXT,
  })
    ..addAll(childrenIterable);
}