HttpRequest constructor

HttpRequest(
  1. HttpMethod method,
  2. String url,
  3. String requestURL, {
  4. Map<String, String?>? queryParameters,
  5. bool noQueryString = false,
  6. Authorization? authorization,
  7. bool withCredentials = false,
  8. String? responseType,
  9. String? mimeType,
  10. Map<String, String>? requestHeaders,
  11. Object? sendData,
})

Implementation

HttpRequest(
  this.method,
  this.url,
  this.requestURL, {
  this.queryParameters,
  this.noQueryString = false,
  this.authorization,
  this.withCredentials = false,
  this.responseType,
  this.mimeType,
  this._requestHeaders,
  this._sendData,
}) {
  updateContentLength();
}