newWorkflowTaskDefaults function

WorkflowTaskModel newWorkflowTaskDefaults()

Implementation

WorkflowTaskModel newWorkflowTaskDefaults() => WorkflowTaskModel(
    documentID: newRandomKey(),
    seqNumber: 0,
    task: null,
    confirmMessage: WorkflowNotificationModel(
        message: '', addressee: WorkflowNotificationAddressee.currentMember),
    rejectMessage: WorkflowNotificationModel(
        message: '', addressee: WorkflowNotificationAddressee.currentMember),
    responsible: WorkflowTaskResponsible.currentMember);