ServerSideEncryptionByDefault.fromXml constructor

ServerSideEncryptionByDefault.fromXml(
  1. XmlElement elem
)

Implementation

factory ServerSideEncryptionByDefault.fromXml(_s.XmlElement elem) {
  return ServerSideEncryptionByDefault(
    sSEAlgorithm: _s
        .extractXmlStringValue(elem, 'SSEAlgorithm')!
        .toServerSideEncryption(),
    kMSMasterKeyID: _s.extractXmlStringValue(elem, 'KMSMasterKeyID'),
  );
}