toXml method
XmlNode
toXml()
Implementation
XmlNode toXml() {
final builder = XmlBuilder();
builder.element('SelectObjectContentEventStream', nest: () {
builder.element('Cont', nest: cont!.toXml());
builder.element('End', nest: end!.toXml());
builder.element('Progress', nest: progress!.toXml());
builder.element('Records', nest: records!.toXml());
builder.element('Stats', nest: stats!.toXml());
});
return builder.buildDocument();
}