ApiError constructor

ApiError({
  1. String? attribute,
  2. String? type,
  3. Map<String, String>? details,
  4. String? message,
})

Returns a new ApiError instance.

Implementation

ApiError({
  this.attribute,
  this.type,
  this.details,
  this.message,
});