ApiError constructor

ApiError({
  1. required String message,
  2. String errorId = 'api_error',
  3. String? suggestion,
  4. int? statusCode,
  5. String? errorType,
  6. Map<String, dynamic>? responseBody,
})

Implementation

ApiError({
  required this.message,
  this.errorId = 'api_error',
  this.suggestion,
  this.statusCode,
  this.errorType,
  this.responseBody,
});