AccountAttribute.fromXml constructor

AccountAttribute.fromXml(
  1. XmlElement elem
)

Implementation

factory AccountAttribute.fromXml(_s.XmlElement elem) {
  return AccountAttribute(
    attributeName: _s.extractXmlStringValue(elem, 'AttributeName'),
    attributeValues: _s.extractXmlChild(elem, 'AttributeValues')?.let(
        (elem) => elem
            .findElements('AttributeValueTarget')
            .map((c) => AttributeValueTarget.fromXml(c))
            .toList()),
  );
}