FieldLevelEncryptionSummary.fromXml constructor

FieldLevelEncryptionSummary.fromXml(
  1. XmlElement elem
)

Implementation

factory FieldLevelEncryptionSummary.fromXml(_s.XmlElement elem) {
  return FieldLevelEncryptionSummary(
    id: _s.extractXmlStringValue(elem, 'Id')!,
    lastModifiedTime: _s.extractXmlDateTimeValue(elem, 'LastModifiedTime')!,
    comment: _s.extractXmlStringValue(elem, 'Comment'),
    contentTypeProfileConfig: _s
        .extractXmlChild(elem, 'ContentTypeProfileConfig')
        ?.let((e) => ContentTypeProfileConfig.fromXml(e)),
    queryArgProfileConfig: _s
        .extractXmlChild(elem, 'QueryArgProfileConfig')
        ?.let((e) => QueryArgProfileConfig.fromXml(e)),
  );
}