FlowManager<F extends Enum, S extends Enum> class
- Mixed-in types
Constructors
Properties
-
activeFlow
→ BaseFlow<
F, S> ? -
no setter
- App → HujBaseApp?
-
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- initialized → bool
-
Check if initialized
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
checkInitializationConditions(
) → bool -
Override this method in the class to provide initialization conditions
Return true if all required conditions are met
override
-
checkInitialized(
String componentName) → bool -
Check initialization state
Returns true if initialized, false otherwise
inherited
-
endFlow(
F flowType) → void -
getFlowByType(
F flowType) → BaseFlow< F, S> ? -
initialize(
) → bool -
Try to initialize by checking conditions
Returns true if already initialized or successfully initialized now
inherited
-
markInitialized(
) → void -
Force mark as initialized (use with caution)
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
processStepResult(
S step, StepResult result) → Future< void> -
registerFlow(
BaseFlow< F, S> flow) → void -
setActiveFlow(
F flowType) → void -
setApp(
HujBaseApp app) → void -
setContext(
BuildContext context) → void -
setup(
) → Future< void> -
startFlow(
F flowType, S initialStep, Map< String, dynamic> pFlowState, {bool? endPreviousFlow = true}) → Future<void> -
toString(
) → String -
A string representation of this object.
inherited
-
updateFlowState(
Map< String, dynamic> updates) → Future<void>
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited