hydrateAction function

ThunkAction<GiphyState> hydrateAction()

Implementation

ThunkAction<GiphyState> hydrateAction(){
  return (Store<GiphyState> store) async {
    Map<String, double> _list = await GiphyFunctions.loadAssetsFromTrending(0, store);
    store.dispatch(SetDisplayAssets(_list));
  };
}