XmlDeclaration constructor

const XmlDeclaration({
  1. required String version,
  2. String? encoding,
  3. bool? standalone,
})

The XML declaration.

All valid XML documents should begin with an XML declaration.

version is required and must not be null.

Implementation

const XmlDeclaration({
  required this.version,
  this.encoding,
  this.standalone,
});