displayAssetsReducer function

Map<String, double> displayAssetsReducer(
  1. GiphyState state,
  2. dynamic event
)

Implementation

Map<String, double> displayAssetsReducer(GiphyState state, dynamic event){
  if(event is SetDisplayAssets){
    return event.displayAssets;
  }
  return state.displayAssets;
}