HttpException constructor

HttpException(
  1. String message, {
  2. int? responseCode,
})

Constructor that takes an exception message and an optional response code

Implementation

HttpException(this.message, {this.responseCode});