selectedAssetReducer function
Implementation
String? selectedAssetReducer(GiphyState state, dynamic event){
if(event is SetSelectedAsset){
return event.asset;
}
return state.selectedAsset;
}
String? selectedAssetReducer(GiphyState state, dynamic event){
if(event is SetSelectedAsset){
return event.asset;
}
return state.selectedAsset;
}