XmlAttribute constructor

const XmlAttribute(
  1. String name,
  2. String value
)

An attribute of a XML element.

name must not be null or empty.

Implementation

const XmlAttribute(this.name, this.value) : assert(name.length > 0);