toXml method

XmlNode toXml()

Implementation

XmlNode toXml() {
  final builder = XmlBuilder();
  builder.element('PolicyStatus', nest: () {
    builder.element('IsPublic', nest: isPublic! ? 'TRUE' : 'FALSE');
  });
  return builder.buildDocument();
}