RegionalBucket.fromXml constructor

RegionalBucket.fromXml(
  1. XmlElement elem
)

Implementation

factory RegionalBucket.fromXml(_s.XmlElement elem) {
  return RegionalBucket(
    bucket: _s.extractXmlStringValue(elem, 'Bucket')!,
    creationDate: _s.extractXmlDateTimeValue(elem, 'CreationDate')!,
    publicAccessBlockEnabled:
        _s.extractXmlBoolValue(elem, 'PublicAccessBlockEnabled')!,
    bucketArn: _s.extractXmlStringValue(elem, 'BucketArn'),
    outpostId: _s.extractXmlStringValue(elem, 'OutpostId'),
  );
}