ResponseError constructor

ResponseError({
  1. required String message,
  2. required int statusCode,
  3. String? statusMessage,
  4. Map<String, List<String>>? responseHeaders,
  5. dynamic responseData,
  6. RequestOptions? requestOptions,
  7. StackTrace? stackTrace,
  8. Object? originalError,
  9. DateTime? timestamp,
})

Implementation

ResponseError({
  required super.message,
  required this.statusCode,
  this.statusMessage,
  this.responseHeaders,
  this.responseData,
  super.requestOptions,
  super.stackTrace,
  super.originalError,
  super.timestamp,
});