WorkflowController<STATES_ENUM> constructor Null safety

WorkflowController<STATES_ENUM>(
  1. STATES_ENUM initialState,
  2. {bool emitMinorEvents = false}
)

Workflow controller

Implementation

WorkflowController(STATES_ENUM initialState, {this.emitMinorEvents = false})
    : events = PluginEvent(initialState).obs,
      container = WorkflowContainer(initialState.runtimeType.toString());