FieldLevelEncryptionProfileConfig.fromXml constructor

FieldLevelEncryptionProfileConfig.fromXml(
  1. XmlElement elem
)

Implementation

factory FieldLevelEncryptionProfileConfig.fromXml(_s.XmlElement elem) {
  return FieldLevelEncryptionProfileConfig(
    callerReference: _s.extractXmlStringValue(elem, 'CallerReference'),
    encryptionEntities: _s
        .extractXmlChild(elem, 'EncryptionEntities')
        ?.let((e) => EncryptionEntities.fromXml(e)),
    name: _s.extractXmlStringValue(elem, 'Name'),
    comment: _s.extractXmlStringValue(elem, 'Comment'),
  );
}