copyWithWrapped method

WebApiModulesWarehouseCheckInCheckInSession copyWithWrapped({
  1. Wrapped<String?>? contractId,
  2. Wrapped<String?>? contractType,
  3. Wrapped<String?>? dealId,
  4. Wrapped<String?>? departmentId,
  5. Wrapped<String?>? locationId,
  6. Wrapped<String?>? warehouseId,
  7. Wrapped<String?>? moduleType,
  8. Wrapped<List<String>?>? orderIds,
})

Implementation

WebApiModulesWarehouseCheckInCheckInSession copyWithWrapped({
  Wrapped<String?>? contractId,
  Wrapped<String?>? contractType,
  Wrapped<String?>? dealId,
  Wrapped<String?>? departmentId,
  Wrapped<String?>? locationId,
  Wrapped<String?>? warehouseId,
  Wrapped<String?>? moduleType,
  Wrapped<List<String>?>? orderIds,
}) {
  return WebApiModulesWarehouseCheckInCheckInSession(
    contractId: (contractId != null ? contractId.value : this.contractId),
    contractType: (contractType != null
        ? contractType.value
        : this.contractType),
    dealId: (dealId != null ? dealId.value : this.dealId),
    departmentId: (departmentId != null
        ? departmentId.value
        : this.departmentId),
    locationId: (locationId != null ? locationId.value : this.locationId),
    warehouseId: (warehouseId != null ? warehouseId.value : this.warehouseId),
    moduleType: (moduleType != null ? moduleType.value : this.moduleType),
    orderIds: (orderIds != null ? orderIds.value : this.orderIds),
  );
}