HttpStatusException constructor

HttpStatusException({
  1. required int status,
  2. String? statusText,
  3. required Uri url,
})

Implementation

HttpStatusException({
  required int status,
  String? statusText,
  required Uri url,
}) : super('$status${statusText == null ? '' : ' $statusText'}', uri: url);