SparkHttpException constructor

SparkHttpException(
  1. int statusCode,
  2. String message, {
  3. String code = 'HTTP_ERROR',
  4. Map<String, dynamic>? details,
})

Implementation

SparkHttpException(
  this.statusCode,
  this.message, {
  this.code = 'HTTP_ERROR',
  this.details,
});