AccessLog.fromXml constructor

AccessLog.fromXml(
  1. XmlElement elem
)

Implementation

factory AccessLog.fromXml(_s.XmlElement elem) {
  return AccessLog(
    enabled: _s.extractXmlBoolValue(elem, 'Enabled')!,
    emitInterval: _s.extractXmlIntValue(elem, 'EmitInterval'),
    s3BucketName: _s.extractXmlStringValue(elem, 'S3BucketName'),
    s3BucketPrefix: _s.extractXmlStringValue(elem, 'S3BucketPrefix'),
  );
}