ChallengeType.fromString constructor
ChallengeType.fromString(
- String value
Implementation
factory ChallengeType.fromString(final String value) {
switch (value) {
case _otp:
return ChallengeType.otp;
case _oob:
return ChallengeType.oob;
default:
throw ArgumentError('Unexpected challenge_type value: $value');
}
}