HttpRequest constructor

HttpRequest(
  1. String url,
  2. String method,
  3. Map<String, dynamic> param,
  4. Map<String, String> headers,
)

Implementation

HttpRequest(this.url, this.method, this.param, this.headers) {
  this.url = url;
  this.method = method;
  this.param = param;
  this.headers = headers;
}