copyWithWrapped method

WebApiModulesInventoryRentalInventoryAddRemoveBrochureItemRequest copyWithWrapped({
  1. Wrapped<String?>? setId,
  2. Wrapped<String?>? brochureId,
  3. Wrapped<String?>? orderId,
  4. Wrapped<String?>? code,
  5. Wrapped<String?>? action,
  6. Wrapped<int?>? quantity,
})

Implementation

WebApiModulesInventoryRentalInventoryAddRemoveBrochureItemRequest
    copyWithWrapped(
        {Wrapped<String?>? setId,
        Wrapped<String?>? brochureId,
        Wrapped<String?>? orderId,
        Wrapped<String?>? code,
        Wrapped<String?>? action,
        Wrapped<int?>? quantity}) {
  return WebApiModulesInventoryRentalInventoryAddRemoveBrochureItemRequest(
      setId: (setId != null ? setId.value : this.setId),
      brochureId: (brochureId != null ? brochureId.value : this.brochureId),
      orderId: (orderId != null ? orderId.value : this.orderId),
      code: (code != null ? code.value : this.code),
      action: (action != null ? action.value : this.action),
      quantity: (quantity != null ? quantity.value : this.quantity));
}