PaginationState<T> constructor
const
PaginationState<T> ({})
Creates a new PaginationState with the given values.
Implementation
const PaginationState({
this.items = const [],
this.currentPage = 1,
this.lastPage = 1,
this.isLoading = false,
this.loadingInitialPage = true,
this.hasError = false,
this.total = 0,
this.searchQuery,
});