HttpStatusException constructor

HttpStatusException(
  1. String method,
  2. String? url, {
  3. int? statusCode,
  4. String? requestBody,
  5. String? responseBody,
})

Implementation

HttpStatusException(
  this.method,
  this.url, {
  this.statusCode,
  this.requestBody,
  this.responseBody,
});