setAppState method

bool setAppState(
  1. AppState? vw
)

Assign the class with the AppState object.

Implementation

bool setAppState(v.AppState? vw) {
  // Only assigned once with the first call.
  _appState ??= vw;
  return vw != null;
}