toWorkflowTaskResponsible function

WorkflowTaskResponsible toWorkflowTaskResponsible(
  1. int? index
)

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;
}