HttpException constructor

const HttpException([
  1. int status = HttpStatus.INTERNAL_SERVER_ERROR,
  2. String message = 'Internal Server Error',
  3. Map<String, dynamic>? data
])

Implementation

const HttpException(
    [this.status = HttpStatus.INTERNAL_SERVER_ERROR,
    this.message = 'Internal Server Error',
    this.data]);