startWorkflow static method

void startWorkflow(
  1. BuildContext context,
  2. int workFlowId
)

Implementation

static void startWorkflow(BuildContext context, int workFlowId) {
  if (_workFlowController == null) {
    throw Exception('Routes must be set using setRoutes() before starting the workflow.');
  }
  _workFlowController!.startWorkflow(context, workFlowId);
}