| 123456789101112 |
- class PaginatedData<T> {
- final List<T> list;
- final int page;
- final int size;
- final int total;
- const PaginatedData(
- {required this.list,
- required this.page,
- required this.size,
- required this.total});
- bool get hasMore => page * size < total;
- }
|