Beispiel #1
0
 public static WeatherState ReduceFetchDataAction(WeatherState state, FetchDataAction action) =>
 new WeatherState(
     isLoading: true,
     forecasts: null);
Beispiel #2
0
 public static WeatherState ReduceFetchDataResultAction(WeatherState state, FetchDataResultAction action) =>
 new WeatherState(
     isLoading: false,
     forecasts: action.Forecasts);