XmlDocumentFragment constructor Null safety

XmlDocumentFragment(
  1. [Iterable<XmlNode> childrenIterable = const []]
)

Create a document fragment node with children.

Implementation

XmlDocumentFragment([Iterable<XmlNode> childrenIterable = const []]) {
  children.initialize(this, childrenNodeTypes);
  children.addAll(childrenIterable);
}