AccountLevel.fromXml constructor

AccountLevel.fromXml(
  1. XmlElement elem
)

Implementation

factory AccountLevel.fromXml(_s.XmlElement elem) {
  return AccountLevel(
    bucketLevel:
        BucketLevel.fromXml(_s.extractXmlChild(elem, 'BucketLevel')!),
    activityMetrics: _s
        .extractXmlChild(elem, 'ActivityMetrics')
        ?.let((e) => ActivityMetrics.fromXml(e)),
  );
}