toAuthenticateCognitoActionConditionalBehaviorEnum method

AuthenticateCognitoActionConditionalBehaviorEnum toAuthenticateCognitoActionConditionalBehaviorEnum()

Implementation

AuthenticateCognitoActionConditionalBehaviorEnum
    toAuthenticateCognitoActionConditionalBehaviorEnum() {
  switch (this) {
    case 'deny':
      return AuthenticateCognitoActionConditionalBehaviorEnum.deny;
    case 'allow':
      return AuthenticateCognitoActionConditionalBehaviorEnum.allow;
    case 'authenticate':
      return AuthenticateCognitoActionConditionalBehaviorEnum.authenticate;
  }
  throw Exception(
      '$this is not known in enum AuthenticateCognitoActionConditionalBehaviorEnum');
}