toXml method
Implementation
_s.XmlElement toXml(String elemName, {List<_s.XmlAttribute>? attributes}) {
final accessControlPolicy = this.accessControlPolicy;
final $children = <_s.XmlNode>[
if (accessControlPolicy != null)
accessControlPolicy.toXml('AccessControlPolicy'),
];
final $attributes = <_s.XmlAttribute>[
...?attributes,
];
return _s.XmlElement(
_s.XmlName(elemName),
$attributes,
$children,
);
}