copyWithWrapped method
Implementation
WebApiModulesIntegrationsStorefrontSendInquiryEmailRequest copyWithWrapped({
Wrapped<String>? catalogProductId,
Wrapped<String>? warehouseId,
Wrapped<String>? locationId,
Wrapped<String>? firstName,
Wrapped<String>? lastName,
Wrapped<String>? phone,
Wrapped<String>? email,
Wrapped<String>? message,
}) {
return WebApiModulesIntegrationsStorefrontSendInquiryEmailRequest(
catalogProductId: (catalogProductId != null
? catalogProductId.value
: this.catalogProductId),
warehouseId: (warehouseId != null ? warehouseId.value : this.warehouseId),
locationId: (locationId != null ? locationId.value : this.locationId),
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),
message: (message != null ? message.value : this.message),
);
}