ListenerDescription.fromXml constructor

ListenerDescription.fromXml(
  1. XmlElement elem
)

Implementation

factory ListenerDescription.fromXml(_s.XmlElement elem) {
  return ListenerDescription(
    listener:
        _s.extractXmlChild(elem, 'Listener')?.let((e) => Listener.fromXml(e)),
    policyNames: _s
        .extractXmlChild(elem, 'PolicyNames')
        ?.let((elem) => _s.extractXmlStringListValues(elem, 'member')),
  );
}