setHasMoreReducer function

bool setHasMoreReducer(
  1. SwipeFeedState state,
  2. dynamic event
)

Implementation

bool setHasMoreReducer(SwipeFeedState state, dynamic event){
  if(event is _SetHasMoreEvent){
    return event.hasMore;
  }
  return state.hasMore;
}