CachePolicySummary.fromXml constructor

CachePolicySummary.fromXml(
  1. XmlElement elem
)

Implementation

factory CachePolicySummary.fromXml(_s.XmlElement elem) {
  return CachePolicySummary(
    cachePolicy:
        CachePolicy.fromXml(_s.extractXmlChild(elem, 'CachePolicy')!),
    type: _s.extractXmlStringValue(elem, 'Type')!.toCachePolicyType(),
  );
}