toUserPoolMfaType method
Implementation
UserPoolMfaType toUserPoolMfaType() {
switch (this) {
case 'OFF':
return UserPoolMfaType.off;
case 'ON':
return UserPoolMfaType.on;
case 'OPTIONAL':
return UserPoolMfaType.optional;
}
throw Exception('$this is not known in enum UserPoolMfaType');
}