refresh method
Reset the state to the initial state (clear items and reset to the first page key)
Implementation
@override
void refresh(PageKeyType firstPageKey) {
state = PagingState<PageKeyType, T>(
nextPageKey: firstPageKey,
itemList: const [],
error: null,
);
}