setAppState<T> method

void setAppState<T>({
  1. required String key,
  2. required T value,
})

Provides the ability to set items on the global app state.

Implementation

void setAppState<T>({required String key, required T value}) {
  CAppView.uiState.set<T>(key, value);
}