updateComponentRootStateOne<TState extends AFComponentState> method

void updateComponentRootStateOne<TState extends AFComponentState>(
  1. Object toIntegrate
)
inherited

Dispatches an action that updates a single value in the app state area associated with the TState type parameter.

Implementation

void updateComponentRootStateOne<TState extends AFComponentState>(Object toIntegrate) {
  assert(TState != AFComponentState, "You must specify a state type as a type parameter");
  dispatch(AFUpdateAppStateAction(area: TState, toIntegrate: [toIntegrate]));
}