ApiResponseException constructor

ApiResponseException({
  1. required int status,
  2. required String code,
  3. required String message,
})

Thrown to cause a different response than what the end-point would normally return.

Implementation

ApiResponseException({
  required this.status,
  required this.code,
  required this.message,
});