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