httpResponseDecoder property

HttpResponseDecoder httpResponseDecoder
getter/setter pair

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) async => await compute(jsonDecode, httpResponse.body) as Map<String, dynamic>,

Implementation

HttpResponseDecoder httpResponseDecoder;