UsageLimitList.fromXml constructor

UsageLimitList.fromXml(
  1. XmlElement elem
)

Implementation

factory UsageLimitList.fromXml(_s.XmlElement elem) {
  return UsageLimitList(
    marker: _s.extractXmlStringValue(elem, 'Marker'),
    usageLimits: _s.extractXmlChild(elem, 'UsageLimits')?.let((elem) => elem
        .findElements('member')
        .map((c) => UsageLimit.fromXml(c))
        .toList()),
  );
}