GetBucketAclOutput.fromXml constructor

GetBucketAclOutput.fromXml(
  1. XmlElement elem
)

Implementation

factory GetBucketAclOutput.fromXml(_s.XmlElement elem) {
  return GetBucketAclOutput(
    grants: _s.extractXmlChild(elem, 'AccessControlList')?.let((elem) =>
        elem.findElements('Grant').map((c) => Grant.fromXml(c)).toList()),
    owner: _s.extractXmlChild(elem, 'Owner')?.let((e) => Owner.fromXml(e)),
  );
}