httpResponseDecoder property
A function that decodes the incoming http response to Map<String, dynamic>
,
the decoded map will be then passes to the RequestSerializer
.
It is recommended for performance to decode the response using compute
function.
httpResponseDecoder : (http.Response httpResponse) => Isolate.run(() =>
const Utf8Decoder()
.fuse(const JsonDecoder())
.convert(response.bodyBytes) as Map<String, dynamic>?))
Implementation
HttpResponseDecoder httpResponseDecoder;