hasNextPage property

bool get hasNextPage

This can be used to check if there is a next page before calling next.

Implementation

bool get hasNextPage => nextApiUrl != null;