toActionCategory method
Implementation
ActionCategory toActionCategory() {
switch (this) {
case 'Source':
return ActionCategory.source;
case 'Build':
return ActionCategory.build;
case 'Deploy':
return ActionCategory.deploy;
case 'Test':
return ActionCategory.test;
case 'Invoke':
return ActionCategory.invoke;
case 'Approval':
return ActionCategory.approval;
}
throw Exception('$this is not known in enum ActionCategory');
}