transformResponse abstract method

Future transformResponse(
  1. RequestOptions options,
  2. ResponseBody response
)

transformResponse allows changes to the response data before it is passed to ResponseInterceptor.

Note: As an agreement, you must return the response when the Options.responseType is ResponseType.stream.

Implementation

Future transformResponse(RequestOptions options, ResponseBody response);