XmlConditional constructor

const XmlConditional({
  1. required String condition,
  2. required List<XmlNode> children,
})

An XML Conditional Section.

condition should equal INCLUDE, IGNORE, or a reference to an XmlEntity. It must not be null or empty.

children must not be null.

Implementation

const XmlConditional({
  required this.condition,
  required this.children,
}) : assert(condition.length > 0);