PublicAccessBlockConfiguration.fromXml constructor
PublicAccessBlockConfiguration.fromXml(
- XmlElement elem
Implementation
factory PublicAccessBlockConfiguration.fromXml(_s.XmlElement elem) {
return PublicAccessBlockConfiguration(
blockPublicAcls: _s.extractXmlBoolValue(elem, 'BlockPublicAcls'),
blockPublicPolicy: _s.extractXmlBoolValue(elem, 'BlockPublicPolicy'),
ignorePublicAcls: _s.extractXmlBoolValue(elem, 'IgnorePublicAcls'),
restrictPublicBuckets:
_s.extractXmlBoolValue(elem, 'RestrictPublicBuckets'),
);
}