endFlow method
void
endFlow(
- F flowType
Implementation
void endFlow(F flowType) {
__.in_('endFlow');
try {
if (_activeFlow?.flowType == flowType) {
_activeFlow = null;
_hujBaseApp?.handleFlowCompletion(flowType);
__.info('Flow ended and cleared: $flowType');
} else {
__.warning('Attempt to end inactive flow: $flowType');
}
} finally {
__.out_('endFlow');
}
}