toXml method
XmlNode
toXml()
Implementation
XmlNode toXml() {
final builder = XmlBuilder();
builder.element(
'AnalyticsExportDestination',
nest: () {
if (s3BucketDestination != null) {
builder.element(
'S3BucketDestination',
nest: (s3BucketDestination!.toXml() as XmlDocument)
.rootElement
.children,
);
}
},
);
return builder.buildDocument();
}