toPreventUserExistenceErrorTypes method
Implementation
PreventUserExistenceErrorTypes toPreventUserExistenceErrorTypes() {
switch (this) {
case 'LEGACY':
return PreventUserExistenceErrorTypes.legacy;
case 'ENABLED':
return PreventUserExistenceErrorTypes.enabled;
}
throw Exception(
'$this is not known in enum PreventUserExistenceErrorTypes');
}