GetBucketCorsOutput.fromXml constructor

GetBucketCorsOutput.fromXml(
  1. XmlElement elem
)

Implementation

factory GetBucketCorsOutput.fromXml(_s.XmlElement elem) {
  return GetBucketCorsOutput(
    cORSRules: elem
        .findElements('CORSRule')
        .map((c) => CORSRule.fromXml(c))
        .toList(),
  );
}