fetchMore method

Future<void> fetchMore()

Fetch the next page. Only available when getNextPageParam is provided.

Implementation

Future<void> fetchMore() {
  if (hasMore != true) return Future.value();
  assert(_fetchMore != null, 'fetchMore is only available when getNextPageParam is provided');
  return _fetchMore!();
}