AFSIDefaultStateView class

Inheritance

Constructors

AFSIDefaultStateView.new({required Map<String, Object> models, AFCreateStateViewDelegate<AFFlexibleStateView>? creator})
AFSIDefaultStateView.create(Map<String, Object> models)
factory

Properties

allModels Iterable<Object>
Returns all the model objects
no setterinherited
create → AFCreateComponentStateDelegate
finalinherited
hashCode int
The hash code for this object.
no setterinherited
models Map<String, Object>
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
time → AFTimeState
no setter

Methods

castToStateView<TStateView extends AFFlexibleStateView>(AFCreateStateViewDelegate<TStateView> creator) → TStateView
inherited
copyWith(List<Object> toIntegrate) → AFComponentState
Returns a new state with the new objects integrated at the root, overriding or augmenting the existing objects.
inherited
copyWithOne(Object toIntegrate) → AFComponentState
inherited
createWith(Map<String, Object> models) → AFComponentState
inherited
findChildWidgetParam<TRouteParam extends AFRouteParam>(AFWidgetID widgetId) → TRouteParam
inherited
findChildWidgetParamOrNull<TRouteParam extends AFRouteParam>(AFWidgetID widgetId) → TRouteParam?
inherited
findId<T extends Object>(String id) → T
Returns the object value for the specified String key.
inherited
findIdOrNull<T extends Object>(String id) → T?
Returns the object value for the specified String key, allows null or missing values.
inherited
findModelWithCustomKey<T>(String key) → T
Same as findId
inherited
findModelWithCustomKeyOrNull<T extends Object?>(String key) → T?
Same as findIdOrNull
inherited
findScreenParam<TRouteParam extends AFRouteParam>(AFScreenID screenId) → TRouteParam
inherited
findScreenParamOrNull<TRouteParam extends AFRouteParam>(AFScreenID screenId) → TRouteParam?
inherited
findType<T extends Object>() → T
Returns the object value for the type T
inherited
findTypeOrNull<T extends Object>() → T?
Returns the object value for the type T, allows null or missing values.
inherited
mergeWith(AFComponentState other) → AFComponentState
Returns a new state, which overrides or augments this object's models with those from other.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
reviseModels(List<Object> toIntegrate) → AFComponentState
inherited
toString() String
A string representation of this object.
inherited

Operators

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