responseXml property

Document get responseXml

The request response, or null on failure.

The response is processed as text/xml stream, unless responseType = 'document' and the request is synchronous.

Implementation

Document get responseXml =>
    DomParser().parseFromString(responseText ?? '', 'text/xml');