LoggingEnabled.fromXml constructor

LoggingEnabled.fromXml(
  1. XmlElement? xml
)

Implementation

LoggingEnabled.fromXml(XmlElement? xml) {
  targetBucket = getProp(xml, 'TargetBucket')?.text;
  targetGrants = TargetGrant.fromXml(getProp(xml, 'TargetGrants'));
  targetPrefix = getProp(xml, 'TargetPrefix')?.text;
}