switchFlow method
Implementation
void switchFlow(String flowName) {
ifAsyncWeCant("switch flow");
if (_asyncSaving) {
throw Exception(
"Story is already in background saving mode, can't switch flow to $flowName");
}
_state.SwitchFlow_Internal(flowName);
}