ApiException constructor

ApiException({
  1. required String message,
  2. required ApiExceptionType type,
  3. int? statusCode,
  4. dynamic originalError,
  5. StackTrace? stackTrace,
  6. Map<String, dynamic>? errorData,
})

Implementation

ApiException({
  required this.message,
  required this.type,
  this.statusCode,
  this.originalError,
  this.stackTrace,
  this.errorData,
});