SetPhoneRequest constructor
SetPhoneRequest({
- String? userId,
- String? phone,
- SendPhoneVerificationCode? sendCode,
- ReturnPhoneVerificationCode? returnCode,
- bool? isVerified,
Implementation
factory SetPhoneRequest({
$core.String? userId,
$core.String? phone,
$3.SendPhoneVerificationCode? sendCode,
$3.ReturnPhoneVerificationCode? returnCode,
$core.bool? isVerified,
}) {
final $result = create();
if (userId != null) {
$result.userId = userId;
}
if (phone != null) {
$result.phone = phone;
}
if (sendCode != null) {
$result.sendCode = sendCode;
}
if (returnCode != null) {
$result.returnCode = returnCode;
}
if (isVerified != null) {
$result.isVerified = isVerified;
}
return $result;
}