InventoryEncryption.fromXml constructor

InventoryEncryption.fromXml(
  1. XmlElement elem
)

Implementation

factory InventoryEncryption.fromXml(_s.XmlElement elem) {
  return InventoryEncryption(
    ssekms:
        _s.extractXmlChild(elem, 'SSE-KMS')?.let((e) => SSEKMS.fromXml(e)),
    sses3: _s.extractXmlChild(elem, 'SSE-S3')?.let((e) => SSES3.fromXml(e)),
  );
}