toXml method

XmlNode toXml()

Implementation

XmlNode toXml() {
  return XmlElement(XmlName('annotation'), [
    XmlAttribute(XmlName('name'), name),
    XmlAttribute(XmlName('value'), value)
  ]);
}