SetEmailRequest constructor

SetEmailRequest({
  1. String? userId,
  2. String? email,
  3. SendEmailVerificationCode? sendCode,
  4. ReturnEmailVerificationCode? returnCode,
  5. bool? isVerified,
})

Implementation

factory SetEmailRequest({
  $core.String? userId,
  $core.String? email,
  $2.SendEmailVerificationCode? sendCode,
  $2.ReturnEmailVerificationCode? returnCode,
  $core.bool? isVerified,
}) {
  final $result = create();
  if (userId != null) {
    $result.userId = userId;
  }
  if (email != null) {
    $result.email = email;
  }
  if (sendCode != null) {
    $result.sendCode = sendCode;
  }
  if (returnCode != null) {
    $result.returnCode = returnCode;
  }
  if (isVerified != null) {
    $result.isVerified = isVerified;
  }
  return $result;
}