TestRequest constructor

TestRequest(
  1. HttpClient _client,
  2. String method,
  3. String path,
  4. String baseUrl,
)

Creates a test request builder for the given parameters.

_client HTTP client for sending requests. method HTTP method (GET, POST, etc.). path Request path relative to base URL. baseUrl Base URL of the test server.

Implementation

TestRequest(this._client, this.method, this.path, this.baseUrl);