updatePage method

void updatePage()

Implementation

void updatePage() async{
  emit(ApiResponseState(responseState: RequestState.loading));
  await Future.delayed(const Duration(milliseconds: 200));
  emit(ApiResponseState(
    responseState: RequestState.loaded,
    apiResponse: ApiResponse.fromJson(
      {
        "isSuccess": true,
        "data":{}
      }
  )
  ));
}