CacheBehaviors.fromXml constructor
CacheBehaviors.fromXml(
- XmlElement elem
Implementation
factory CacheBehaviors.fromXml(_s.XmlElement elem) {
return CacheBehaviors(
quantity: _s.extractXmlIntValue(elem, 'Quantity')!,
items: _s.extractXmlChild(elem, 'Items')?.let((elem) => elem
.findElements('CacheBehavior')
.map((c) => CacheBehavior.fromXml(c))
.toList()),
);
}