lastPage property

bool lastPage

detect if current page is last page -> don't load more data if lastPage is true

Implementation

bool get lastPage => total == itemsList.value.length && total != 0;