copyWithWrapped method

WebApiModulesIntegrationsStorefrontContactRegistrationRequest copyWithWrapped({
  1. Wrapped<String?>? language,
  2. Wrapped<String>? firstName,
  3. Wrapped<String>? lastName,
  4. Wrapped<String?>? phone,
  5. Wrapped<String>? email,
  6. Wrapped<String?>? studentId,
})

Implementation

WebApiModulesIntegrationsStorefrontContactRegistrationRequest
copyWithWrapped({
  Wrapped<String?>? language,
  Wrapped<String>? firstName,
  Wrapped<String>? lastName,
  Wrapped<String?>? phone,
  Wrapped<String>? email,
  Wrapped<String?>? studentId,
}) {
  return WebApiModulesIntegrationsStorefrontContactRegistrationRequest(
    language: (language != null ? language.value : this.language),
    firstName: (firstName != null ? firstName.value : this.firstName),
    lastName: (lastName != null ? lastName.value : this.lastName),
    phone: (phone != null ? phone.value : this.phone),
    email: (email != null ? email.value : this.email),
    studentId: (studentId != null ? studentId.value : this.studentId),
  );
}