Checks constructor
Checks({
- CheckUser? user,
- CheckPassword? password,
- CheckWebAuthN? webAuthN,
- CheckIDPIntent? idpIntent,
- CheckTOTP? totp,
- CheckOTP? otpSms,
- CheckOTP? otpEmail,
Implementation
factory Checks({
CheckUser? user,
CheckPassword? password,
CheckWebAuthN? webAuthN,
CheckIDPIntent? idpIntent,
CheckTOTP? totp,
CheckOTP? otpSms,
CheckOTP? otpEmail,
}) {
final $result = create();
if (user != null) {
$result.user = user;
}
if (password != null) {
$result.password = password;
}
if (webAuthN != null) {
$result.webAuthN = webAuthN;
}
if (idpIntent != null) {
$result.idpIntent = idpIntent;
}
if (totp != null) {
$result.totp = totp;
}
if (otpSms != null) {
$result.otpSms = otpSms;
}
if (otpEmail != null) {
$result.otpEmail = otpEmail;
}
return $result;
}