COSRefererConfiguration.fromXml constructor

COSRefererConfiguration.fromXml(
  1. XmlElement? xml
)

Implementation

factory COSRefererConfiguration.fromXml(XmlElement? xml) {
  return COSRefererConfiguration()
    ..status = xml?.getElement('Status')?.innerText
    ..refererType = xml?.getElement('RefererType')?.innerText
    ..domainList = COSDomainList.fromXml(xml?.getElement('DomainList'))
    ..emptyReferConfiguration =
        xml?.getElement('EmptyReferConfiguration')?.innerText;
}