toActionTypeEnum method
Implementation
ActionTypeEnum toActionTypeEnum() {
switch (this) {
case 'forward':
return ActionTypeEnum.forward;
case 'authenticate-oidc':
return ActionTypeEnum.authenticateOidc;
case 'authenticate-cognito':
return ActionTypeEnum.authenticateCognito;
case 'redirect':
return ActionTypeEnum.redirect;
case 'fixed-response':
return ActionTypeEnum.fixedResponse;
}
throw Exception('$this is not known in enum ActionTypeEnum');
}