registerFlow method

void registerFlow(
  1. OmegaFlow flow
)

Registers a flow so it can be activated and receive intents. Call at bootstrap (omega_setup).

Example: flowManager.registerFlow(AuthFlow(channel));

Implementation

void registerFlow(OmegaFlow flow) {
  _flows[flow.id] = flow;
}