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