PaginatedState<T, Q> constructor
const
PaginatedState<T, Q> ({
- required int page,
- required int pageSize,
- required PaginatedStateType type,
- required bool hasNoMoreItems,
- required List<
T> items, - Q? query,
- Object? error,
- StackTrace? stackTrace,
Implementation
const PaginatedState({
required this.page,
required this.pageSize,
required this.type,
required this.hasNoMoreItems,
required this.items,
this.query,
this.error,
this.stackTrace,
});