ErrorResponse constructor

ErrorResponse({
  1. int? code,
  2. String? name,
  3. String? message,
  4. String? requestId,
  5. List<ErrorDetail>? details = const [],
})

Returns a new ErrorResponse instance.

Implementation

ErrorResponse({
  this.code,
  this.name,
  this.message,
  this.requestId,
  this.details = const [],
});