LoggingEnabled.fromXml constructor

LoggingEnabled.fromXml(
  1. XmlElement? xml
)

Implementation

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