isLastOffset method

bool isLastOffset(
  1. int offset
)

Checks if the specified offset is the last item.

Implementation

bool isLastOffset(int offset) => !hasMore(offset);