toXml method
XmlNode
toXml()
Implementation
XmlNode toXml() {
final builder = XmlBuilder();
builder.element(
'Bucket',
nest: () {
builder.element('CreationDate', nest: creationDate!.toIso8601String());
builder.element('Name', nest: name);
},
);
return builder.buildDocument();
}