XmlText constructor

const XmlText(
  1. String value, {
  2. bool isMarkup = false,
})

A plain text value.

This node is should be nested within an element, but the parser doesn't require it.

If isMarkup is true, character entities contained within value will never be parsed and characters marked for encoding by the toString and toFormattedString methods will be ignored.

Neither value or isMarkup may be null.

Implementation

const XmlText(this.value, {this.isMarkup = false});