FieldLevelEncryptionProfileList.fromXml constructor

FieldLevelEncryptionProfileList.fromXml(
  1. XmlElement elem
)

Implementation

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