copyWithWrapped method

WebApiModulesInventoryContainerItemRemoveFromContainerRequest copyWithWrapped({
  1. Wrapped<String?>? containerItemId,
  2. Wrapped<String?>? itemId,
  3. Wrapped<String?>? inventoryId,
  4. Wrapped<String?>? warehouseId,
  5. Wrapped<String?>? consignorId,
  6. Wrapped<String?>? consignorAgreementId,
  7. Wrapped<double?>? quantity,
})

Implementation

WebApiModulesInventoryContainerItemRemoveFromContainerRequest
copyWithWrapped({
  Wrapped<String?>? containerItemId,
  Wrapped<String?>? itemId,
  Wrapped<String?>? inventoryId,
  Wrapped<String?>? warehouseId,
  Wrapped<String?>? consignorId,
  Wrapped<String?>? consignorAgreementId,
  Wrapped<double?>? quantity,
}) {
  return WebApiModulesInventoryContainerItemRemoveFromContainerRequest(
    containerItemId: (containerItemId != null
        ? containerItemId.value
        : this.containerItemId),
    itemId: (itemId != null ? itemId.value : this.itemId),
    inventoryId: (inventoryId != null ? inventoryId.value : this.inventoryId),
    warehouseId: (warehouseId != null ? warehouseId.value : this.warehouseId),
    consignorId: (consignorId != null ? consignorId.value : this.consignorId),
    consignorAgreementId: (consignorAgreementId != null
        ? consignorAgreementId.value
        : this.consignorAgreementId),
    quantity: (quantity != null ? quantity.value : this.quantity),
  );
}