updateComponentRootStateOne<TState extends AFComponentState> method
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]));
}