totalPages property
int
get
totalPages
The total number of pages
Implementation
int get totalPages => total > 0 ? (total / limit).ceil() : 0;
The total number of pages
int get totalPages => total > 0 ? (total / limit).ceil() : 0;