visitDocument method

  1. @override
void visitDocument(
  1. XmlDocument node
)
override

Visit an XmlDocument node.

Implementation

@override
void visitDocument(XmlDocument node) {
  buffer.write(indent * level);
  writeIterable(normalizeText(node.children), newLine + indent * level);
}