Data constructor

Data({
  1. required int page,
  2. required int size,
  3. required int totalElements,
  4. required int totalPages,
  5. required bool last,
  6. required bool first,
  7. required Sort sort,
  8. required List<ProductModel> content,
})

Implementation

Data({
  required this.page,
  required this.size,
  required this.totalElements,
  required this.totalPages,
  required this.last,
  required this.first,
  required this.sort,
  required this.content,
});