TransformResponse<T> typedef
TransformResponse<T> =
FutureOr<T> Function(Response response)
A function used to transform the response.
To prevent large computations from blocking the thread, response bodies are decoded in an isolate by default.
Implementation
typedef TransformResponse<T> = FutureOr<T> Function(Response response);