copyWithWrapped method

WebApiModulesUtilitiesInventoryTransferUtilityTransferInventoryRequest copyWithWrapped({
  1. Wrapped<String?>? fromWarehouseId,
  2. Wrapped<String?>? toWarehouseId,
  3. Wrapped<String?>? itemId,
  4. Wrapped<String?>? locationId,
  5. Wrapped<String?>? departmentId,
  6. Wrapped<String?>? transferTypeId,
})

Implementation

WebApiModulesUtilitiesInventoryTransferUtilityTransferInventoryRequest
copyWithWrapped({
  Wrapped<String?>? fromWarehouseId,
  Wrapped<String?>? toWarehouseId,
  Wrapped<String?>? itemId,
  Wrapped<String?>? locationId,
  Wrapped<String?>? departmentId,
  Wrapped<String?>? transferTypeId,
}) {
  return WebApiModulesUtilitiesInventoryTransferUtilityTransferInventoryRequest(
    fromWarehouseId: (fromWarehouseId != null
        ? fromWarehouseId.value
        : this.fromWarehouseId),
    toWarehouseId: (toWarehouseId != null
        ? toWarehouseId.value
        : this.toWarehouseId),
    itemId: (itemId != null ? itemId.value : this.itemId),
    locationId: (locationId != null ? locationId.value : this.locationId),
    departmentId: (departmentId != null
        ? departmentId.value
        : this.departmentId),
    transferTypeId: (transferTypeId != null
        ? transferTypeId.value
        : this.transferTypeId),
  );
}