HttpRequest constructor

HttpRequest({
  1. String body = "",
  2. String method = "",
  3. String path = "",
  4. Map<String, String> pathParams = const {},
  5. Map<String, List<String>> queryParams = const {},
  6. Map<String, List<String>> headers = const {},
})

Implementation

HttpRequest({
  this.body = "",
  this.method = "",
  this.path = "",
  this.pathParams = const {},
  this.queryParams = const {},
  this.headers = const {},
});