ResponseModel constructor

ResponseModel({
  1. dynamic entity,
  2. dynamic error,
  3. bool hasMore = false,
  4. String? message,
  5. int? status,
  6. int? statusCode,
  7. Failure? errorType,
})

Constructs a new ResponseModel instance.

Implementation

ResponseModel({
  this.entity,
  this.error,
  this.hasMore = false,
  this.message,
  this.status,
  super.statusCode,
  super.errorType,
});