XmlProcessingInstruction constructor

const XmlProcessingInstruction({
  1. required String target,
  2. String? content,
})

An XML Processing Instruction.

XML Processing Instructions contain instructions for the application parsing the document.

target must not be null or empty.

Implementation

const XmlProcessingInstruction({
  required this.target,
  this.content,
}) : assert(target.length > 0);