toCompromisedCredentialsEventActionType method

CompromisedCredentialsEventActionType toCompromisedCredentialsEventActionType()

Implementation

CompromisedCredentialsEventActionType
    toCompromisedCredentialsEventActionType() {
  switch (this) {
    case 'BLOCK':
      return CompromisedCredentialsEventActionType.block;
    case 'NO_ACTION':
      return CompromisedCredentialsEventActionType.noAction;
  }
  throw Exception(
      '$this is not known in enum CompromisedCredentialsEventActionType');
}