ItemModel constructor

ItemModel(
  1. {int? total,
  2. int? perPage,
  3. required int currentPage,
  4. required int lastPage,
  5. String? nextPageUrl,
  6. String? prevPageUrl,
  7. int? from,
  8. int? to,
  9. required List<NotificationModel> data}
)

Implementation

ItemModel({
  this.total,
  this.perPage,
  required this.currentPage,
  required this.lastPage,
  this.nextPageUrl,
  this.prevPageUrl,
  this.from,
  this.to,
  required this.data,
});