toXml method

XmlNode toXml()

Implementation

XmlNode toXml() {
  final builder = XmlBuilder();
  builder.element(
    'AnalyticsAndOperator',
    nest: () {
      builder.element('Prefix', nest: prefix);
      builder.element('Tags', nest: tags!.toXml());
    },
  );
  return builder.buildDocument();
}