convertError<BodyType, InnerType> method

  1. @override
FutureOr<Response> convertError<BodyType, InnerType>(
  1. Response response
)
inherited

Converts the received Response to a Response which has a body with the HTTP representation of the original body.

Implementation

@override
FutureOr<Response> convertError<BodyType, InnerType>(
  Response response,
) async =>
    await decodeJson(response);