pullRefresh method
void
pullRefresh()
Implementation
void pullRefresh() {
state = state.copyWith(
itemList: state.itemList,
nextPageKey: state.nextPageKey,
error: null,
isRefreshing: true,
);
}