class PaginatedData { final List 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; }