ClientException constructor

const ClientException({
  1. required String message,
  2. String? url,
  3. int? statusCode,
  4. ClientErrorType type = ClientErrorType.unknown,
  5. Object? originalError,
  6. String? responseBody,
})

Implementation

const ClientException({
  required this.message,
  this.url,
  this.statusCode,
  this.type = ClientErrorType.unknown,
  this.originalError,
  this.responseBody,
});