buildEvents method

List<XmlEvent> buildEvents(
  1. String indent
)

Builds the XML events for the elements to insert.

Implementation

List<XmlEvent> buildEvents(String indent) {
  return [for (final tag in tags) ...tag.buildEvents(indent)];
}