loadNext method
Load next page
Implementation
Future<void> loadNext() async {
if (!_state.value.hasMore || _state.value.isLoading) return;
await loadPage(_state.value.currentPage + 1);
}
Load next page
Future<void> loadNext() async {
if (!_state.value.hasMore || _state.value.isLoading) return;
await loadPage(_state.value.currentPage + 1);
}