fetchData method
Implementation
fetchData(bool more) async {
if (more) {
pageIndex += 1;
} else {
pageIndex = 1;
list.clear();
}
}
fetchData(bool more) async {
if (more) {
pageIndex += 1;
} else {
pageIndex = 1;
list.clear();
}
}