XmlElementSyntheticImpl constructor

XmlElementSyntheticImpl(
  1. XmlName name, [
  2. Iterable<XmlAttribute> attributesIterable = const [],
  3. Iterable<XmlNode> childrenIterable = const [],
  4. bool isSelfClosing = true,
])

Implementation

XmlElementSyntheticImpl(
  this.name, [
  Iterable<XmlAttribute> attributesIterable = const [],
  Iterable<XmlNode> childrenIterable = const [],
  this.isSelfClosing = true,
]) {
  name.attachParent(this);
  attributes.addAll(attributesIterable);
  children.addAll(childrenIterable);
}