CustomErrorResponse.fromXml constructor
CustomErrorResponse.fromXml(
- XmlElement elem
Implementation
factory CustomErrorResponse.fromXml(_s.XmlElement elem) {
return CustomErrorResponse(
errorCode: _s.extractXmlIntValue(elem, 'ErrorCode')!,
errorCachingMinTTL: _s.extractXmlIntValue(elem, 'ErrorCachingMinTTL'),
responseCode: _s.extractXmlStringValue(elem, 'ResponseCode'),
responsePagePath: _s.extractXmlStringValue(elem, 'ResponsePagePath'),
);
}