SetEmail constructor

SetEmail({
  1. String? address,
  2. SendEmailVerificationCode? sendCode,
  3. ReturnEmailVerificationCode? returnCode,
  4. bool? isVerified,
})

Implementation

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