AnalyticsConfiguration.fromXml constructor

AnalyticsConfiguration.fromXml(
  1. XmlElement elem
)

Implementation

factory AnalyticsConfiguration.fromXml(_s.XmlElement elem) {
  return AnalyticsConfiguration(
    id: _s.extractXmlStringValue(elem, 'Id')!,
    storageClassAnalysis: StorageClassAnalysis.fromXml(
        _s.extractXmlChild(elem, 'StorageClassAnalysis')!),
    filter: _s
        .extractXmlChild(elem, 'Filter')
        ?.let((e) => AnalyticsFilter.fromXml(e)),
  );
}