toXml method
Implementation
_s.XmlElement toXml(String elemName, {List<_s.XmlAttribute>? attributes}) {
final accessTier = this.accessTier;
final days = this.days;
final $children = <_s.XmlNode>[
_s.encodeXmlIntValue('Days', days),
_s.encodeXmlStringValue('AccessTier', accessTier.toValue()),
];
final $attributes = <_s.XmlAttribute>[
...?attributes,
];
return _s.XmlElement(
_s.XmlName(elemName),
$attributes,
$children,
);
}