toXml method
XmlNode
toXml()
Implementation
XmlNode toXml() {
var children = <XmlNode>[];
children.addAll(args.map((a) => a.toXml(writeDirection: false)));
children.addAll(annotations.map((a) => a.toXml()));
return XmlElement(
XmlName('signal'), [XmlAttribute(XmlName('name'), name)], children);
}