copyWith method

WebApiModulesIntegrationsStorefrontSendInquiryEmailRequest copyWith({
  1. String? catalogProductId,
  2. String? warehouseId,
  3. String? locationId,
  4. String? firstName,
  5. String? lastName,
  6. String? phone,
  7. String? email,
  8. String? message,
})

Implementation

WebApiModulesIntegrationsStorefrontSendInquiryEmailRequest copyWith({
  String? catalogProductId,
  String? warehouseId,
  String? locationId,
  String? firstName,
  String? lastName,
  String? phone,
  String? email,
  String? message,
}) {
  return WebApiModulesIntegrationsStorefrontSendInquiryEmailRequest(
    catalogProductId: catalogProductId ?? this.catalogProductId,
    warehouseId: warehouseId ?? this.warehouseId,
    locationId: locationId ?? this.locationId,
    firstName: firstName ?? this.firstName,
    lastName: lastName ?? this.lastName,
    phone: phone ?? this.phone,
    email: email ?? this.email,
    message: message ?? this.message,
  );
}