PublicKeyList.fromXml constructor

PublicKeyList.fromXml(
  1. XmlElement elem
)

Implementation

factory PublicKeyList.fromXml(_s.XmlElement elem) {
  return PublicKeyList(
    maxItems: _s.extractXmlIntValue(elem, 'MaxItems')!,
    quantity: _s.extractXmlIntValue(elem, 'Quantity')!,
    items: _s.extractXmlChild(elem, 'Items')?.let((elem) => elem
        .findElements('PublicKeySummary')
        .map((c) => PublicKeySummary.fromXml(c))
        .toList()),
    nextMarker: _s.extractXmlStringValue(elem, 'NextMarker'),
  );
}