TestResponse constructor

TestResponse(
  1. HttpClientResponse _response,
  2. String body
)

Creates a test response wrapper around an HTTP response.

_response The HTTP client response object. body The response body content as a string.

Implementation

TestResponse(this._response, this.body);