AFPublicState class

State meant to be used by the app itself, including the app-specific state.

Constructors

AFPublicState({required AFConceptualStore conceptualStore, required AFRouteState route, required AFThemeState themes, required AFComponentStates components, required AFQueryState queries, required AFTimeState time, required AFAppPlatformInfoState appPlatformInfo})

Properties

appPlatformInfo AFAppPlatformInfoState
final
components AFComponentStates
final
conceptualStore AFConceptualStore
final
hashCode int
The hash code for this object.
no setterinherited
queries → AFQueryState
final
route AFRouteState
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
themes AFThemeState
final
time AFTimeState
final

Methods

componentState<T extends AFComponentState>() → T
componentStateOrNull<T extends AFComponentState>() → T?
copyWith({AFRouteState? route, AFThemeState? themes, AFComponentStates? components, AFQueryState? queries, AFTimeState? time, AFAppPlatformInfoState? appPlatformInfo}) AFPublicState
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
reviseComponents(AFComponentStates components) AFPublicState
reviseRoute(AFRouteState route) AFPublicState
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited