applyToXml method

void applyToXml(
  1. XmlBuilder x
)

Implementation

void applyToXml(XML.XmlBuilder x) {
  x.element("argument", nest: () {
    x.element("name", nest: name);
    x.element("direction", nest: isOutput ? "out" : "in");

    if (relatedStateVariable != null) {
      x.element("relatedStateVariable", nest: relatedStateVariable);
    }
  });
}