S3Origin.fromXml constructor

S3Origin.fromXml(
  1. XmlElement elem
)

Implementation

factory S3Origin.fromXml(_s.XmlElement elem) {
  return S3Origin(
    domainName: _s.extractXmlStringValue(elem, 'DomainName')!,
    originAccessIdentity:
        _s.extractXmlStringValue(elem, 'OriginAccessIdentity')!,
  );
}