setTotalRecords method
Implementation
void setTotalRecords(int totalRecords) {
_state.totalRecords = totalRecords;
calculatePagination();
notifyListeners();
}
void setTotalRecords(int totalRecords) {
_state.totalRecords = totalRecords;
calculatePagination();
notifyListeners();
}