setPageTokenReducer function

String? setPageTokenReducer(
  1. SwipeFeedState state,
  2. dynamic event
)

Implementation

String? setPageTokenReducer(SwipeFeedState state, dynamic event){
  if(event is _SetPageTokenEvent){
    return event.pageToken;
  }
  return state.pageToken;
}