toXml method
Implementation
String toXml({bool pretty = true}) {
final writer = _XmlWriter(pretty: pretty);
writer
..line('<?xml version="1.0" encoding="UTF-8"?>')
..open('streaming');
for (final service in services) {
service._write(writer);
}
writer.close('streaming');
return writer.toString();
}