toValue method

String toValue()

Implementation

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