Challenges constructor

Challenges({
  1. Challenges_WebAuthN? webAuthN,
  2. String? otpSms,
  3. String? otpEmail,
})

Implementation

factory Challenges({
  Challenges_WebAuthN? webAuthN,
  $core.String? otpSms,
  $core.String? otpEmail,
}) {
  final result = create();
  if (webAuthN != null) result.webAuthN = webAuthN;
  if (otpSms != null) result.otpSms = otpSms;
  if (otpEmail != null) result.otpEmail = otpEmail;
  return result;
}