toXml method
XmlNode
toXml()
Implementation
XmlNode toXml() {
final builder = XmlBuilder();
builder.element('AccessControlPolicy', nest: () {
builder.element('Grants', nest: grants!.toXml());
builder.element('Owner', nest: owner!.toXml());
});
return builder.buildDocument();
}