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