copyWithWrapped method
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),
);
}