XmlDocumentNaturalImpl constructor

XmlDocumentNaturalImpl(
  1. XmlSourceRange source,
  2. XmlDeclarationNaturalImpl? declaration,
  3. Iterable<XmlNode> a,
  4. XmlDoctypeNaturalImpl? doctypeElement,
  5. Iterable<XmlNode> b,
  6. XmlElementNaturalImpl rootElement,
  7. Iterable<XmlNode> c,
)

Implementation

XmlDocumentNaturalImpl(
  this.source,
  this.declaration,
  Iterable<XmlNode> a,
  this.doctypeElement,
  Iterable<XmlNode> b,
  this.rootElement,
  Iterable<XmlNode> c,
) : super(
        [
          if (declaration != null) declaration,
          ...a,
          if (doctypeElement != null) doctypeElement,
          ...b,
          rootElement,
          ...c,
        ],
      );