toWorkflowTaskResponsible function
Implementation
WorkflowTaskResponsible toWorkflowTaskResponsible(int? index) {
switch (index) {
case 0:
return WorkflowTaskResponsible.currentMember;
case 1:
return WorkflowTaskResponsible.owner;
case 2:
return WorkflowTaskResponsible.first;
case 3:
return WorkflowTaskResponsible.previous;
}
return WorkflowTaskResponsible.unknown;
}