toValue method
Implementation
String toValue() {
switch (this) {
case ChallengeName.password:
return 'Password';
case ChallengeName.mfa:
return 'Mfa';
}
}
String toValue() {
switch (this) {
case ChallengeName.password:
return 'Password';
case ChallengeName.mfa:
return 'Mfa';
}
}