XmlEntity constructor
const
XmlEntity(})
A DTD Entity Declaration.
name must not be null
and must be > 0
in length.
value must not be null
.
isSystem and isPublic must not be null
, and only
one of them may be true
.
Implementation
const XmlEntity(
this.name,
this.value, {
this.isParameter = false,
this.isSystem = false,
this.isPublic = false,
this.externalEntities,
this.ndata,
}) : assert(name.length > 0),
assert(!(isPublic && isSystem));