CachePolicyQueryStringsConfig.fromXml constructor

CachePolicyQueryStringsConfig.fromXml(
  1. XmlElement elem
)

Implementation

factory CachePolicyQueryStringsConfig.fromXml(_s.XmlElement elem) {
  return CachePolicyQueryStringsConfig(
    queryStringBehavior: _s
        .extractXmlStringValue(elem, 'QueryStringBehavior')!
        .toCachePolicyQueryStringBehavior(),
    queryStrings: _s
        .extractXmlChild(elem, 'QueryStrings')
        ?.let((e) => QueryStringNames.fromXml(e)),
  );
}