writeAsXml method

void writeAsXml(
  1. XmlDocument xml, [
  2. dynamic pathToFile,
  3. bool pretty = false
])

Implementation

void writeAsXml(
  XmlDocument xml, [
  dynamic pathToFile,
  bool pretty = false,
]) =>
    writeAsText(xml.toXmlString(pretty: pretty));