SetPhone constructor

SetPhone({
  1. String? number,
  2. SendPhoneVerificationCode? sendCode,
  3. ReturnPhoneVerificationCode? returnCode,
  4. bool? isVerified,
})

Implementation

factory SetPhone({
  $core.String? number,
  SendPhoneVerificationCode? sendCode,
  ReturnPhoneVerificationCode? returnCode,
  $core.bool? isVerified,
}) {
  final $result = create();
  if (number != null) {
    $result.number = number;
  }
  if (sendCode != null) {
    $result.sendCode = sendCode;
  }
  if (returnCode != null) {
    $result.returnCode = returnCode;
  }
  if (isVerified != null) {
    $result.isVerified = isVerified;
  }
  return $result;
}