ApiError constructor

const ApiError({
  1. required ApiErrorType type,
  2. required String message,
  3. int? statusCode,
  4. String? retryAfter,
  5. int? tokenGap,
  6. Map<String, dynamic>? rawError,
})

Implementation

const ApiError({
  required this.type,
  required this.message,
  this.statusCode,
  this.retryAfter,
  this.tokenGap,
  this.rawError,
});