ApiResponse<T> constructor

ApiResponse<T>({
  1. required T? data,
  2. String? status,
  3. dynamic message,
  4. int? count,
  5. String? next,
  6. String? previous,
  7. T? results,
  8. int? currentPage,
  9. int? itemsPerPage,
  10. int? totalItems,
  11. bool? isLastPage,
})

Implementation

ApiResponse({
  required this.data,
  this.status,
  this.message,
  this.count,
  this.next,
  this.previous,
  this.results,
  this.currentPage,
  this.itemsPerPage,
  this.totalItems,
  this.isLastPage,
});