storeAction method

ThunkAction<T> storeAction(
  1. T state
)

Stores the state in the Fort, opposite side of this is receiveAction

Implementation

ThunkAction<T> storeAction(T state){
  return (Store<T> store) async {
    //Stores the box
    await storeState(state);
  };
}