CachedMethods.fromXml constructor
CachedMethods.fromXml(
- XmlElement elem
Implementation
factory CachedMethods.fromXml(_s.XmlElement elem) {
return CachedMethods(
items: _s
.extractXmlStringListValues(
_s.extractXmlChild(elem, 'Items')!, 'Method')
.map((s) => s.toMethod())
.toList(),
quantity: _s.extractXmlIntValue(elem, 'Quantity')!,
);
}