PolicyStatus.fromXml constructor

PolicyStatus.fromXml(
  1. XmlElement xml
)

Implementation

PolicyStatus.fromXml(XmlElement xml) {
  isPublic = getProp(xml, 'IsPublic')?.innerText.toUpperCase() == 'TRUE';
}