AnalyticsS3BucketDestination.fromXml constructor

AnalyticsS3BucketDestination.fromXml(
  1. XmlElement elem
)

Implementation

factory AnalyticsS3BucketDestination.fromXml(_s.XmlElement elem) {
  return AnalyticsS3BucketDestination(
    bucket: _s.extractXmlStringValue(elem, 'Bucket')!,
    format: _s
        .extractXmlStringValue(elem, 'Format')!
        .toAnalyticsS3ExportFileFormat(),
    bucketAccountId: _s.extractXmlStringValue(elem, 'BucketAccountId'),
    prefix: _s.extractXmlStringValue(elem, 'Prefix'),
  );
}