HttpException constructor

HttpException(
  1. String message,
  2. String prefix, {
  3. String? code,
  4. String? body,
  5. int? status,
})

Implementation

HttpException(
  this.message,
  this.prefix, {
  String? code,
  String? body,
  this.status,
}) : code = code ?? _codeFrom(body ?? message),
     body = body ?? message;