toXml method

XmlNode toXml()

Implementation

XmlNode toXml() {
  final builder = XmlBuilder();
  builder.element(
    'Owner',
    nest: () {
      builder.element('DisplayName', nest: displayName);
      builder.element('ID', nest: iD);
    },
  );
  return builder.buildDocument();
}