toXml method
Implementation
_s.XmlElement toXml(String elemName, {List<_s.XmlAttribute>? attributes}) {
final roleARN = this.roleARN;
final streamARN = this.streamARN;
final $children = <_s.XmlNode>[
_s.encodeXmlStringValue('RoleARN', roleARN),
_s.encodeXmlStringValue('StreamARN', streamARN),
];
final $attributes = <_s.XmlAttribute>[
...?attributes,
];
return _s.XmlElement(
_s.XmlName(elemName),
$attributes,
$children,
);
}