XmlEtd constructor

const XmlEtd(
  1. String name,
  2. String children
)

An Element Type Declaration.

name must not be null and must be > 0 in length.

children should contain the raw (unparsed) content of the ETD. children must not be null.

Implementation

const XmlEtd(this.name, this.children) : assert(name.length > 0);