ListBucketsOutput.fromXml constructor

ListBucketsOutput.fromXml(
  1. XmlElement elem
)

Implementation

factory ListBucketsOutput.fromXml(_s.XmlElement elem) {
  return ListBucketsOutput(
    buckets: _s.extractXmlChild(elem, 'Buckets')?.let((elem) =>
        elem.findElements('Bucket').map((c) => Bucket.fromXml(c)).toList()),
    owner: _s.extractXmlChild(elem, 'Owner')?.let((e) => Owner.fromXml(e)),
  );
}