newWorkflowDefaults function

WorkflowModel newWorkflowDefaults(
  1. String appId
)

Implementation

WorkflowModel newWorkflowDefaults(String appId) => WorkflowModel(
      documentID: newRandomKey(),
      appId: appId,
      name: 'New workflow',
      workflowTask: [],
    );