AFComponentStates class
Tracks the application state and any state provided by third parties.
You will not usually interact with this class directly. It is maintained
by AFib. You manipulate it using context.update... calls.
- Annotations
Constructors
-
AFComponentStates({required Map<
String, AFComponentState> states}) -
const
-
AFComponentStates.createFrom(List<
AFComponentState> areas) -
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
states
→ Map<
String, AFComponentState> -
final
Methods
-
findState<
TState extends AFComponentState> () → TState? -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
reviseComponent(
Type areaType, List< Object> models) → AFComponentStates -
stateFor(
Type areaType) → AFComponentState? -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited