RequestChallenges constructor

RequestChallenges({
  1. RequestChallenges_WebAuthN? webAuthN,
  2. RequestChallenges_OTPSMS? otpSms,
  3. RequestChallenges_OTPEmail? otpEmail,
})

Implementation

factory RequestChallenges({
  RequestChallenges_WebAuthN? webAuthN,
  RequestChallenges_OTPSMS? otpSms,
  RequestChallenges_OTPEmail? otpEmail,
}) {
  final result = create();
  if (webAuthN != null) result.webAuthN = webAuthN;
  if (otpSms != null) result.otpSms = otpSms;
  if (otpEmail != null) result.otpEmail = otpEmail;
  return result;
}