toAccountTakeoverEventActionType method
Implementation
AccountTakeoverEventActionType toAccountTakeoverEventActionType() {
switch (this) {
case 'BLOCK':
return AccountTakeoverEventActionType.block;
case 'MFA_IF_CONFIGURED':
return AccountTakeoverEventActionType.mfaIfConfigured;
case 'MFA_REQUIRED':
return AccountTakeoverEventActionType.mfaRequired;
case 'NO_ACTION':
return AccountTakeoverEventActionType.noAction;
}
throw Exception(
'$this is not known in enum AccountTakeoverEventActionType');
}