copyWithWrapped method

WebApiModulesAgentOrderCreateLossAndDamageRequest copyWithWrapped({
  1. Wrapped<String?>? locationId,
  2. Wrapped<String?>? warehouseId,
})

Implementation

WebApiModulesAgentOrderCreateLossAndDamageRequest copyWithWrapped({
  Wrapped<String?>? locationId,
  Wrapped<String?>? warehouseId,
}) {
  return WebApiModulesAgentOrderCreateLossAndDamageRequest(
    locationId: (locationId != null ? locationId.value : this.locationId),
    warehouseId: (warehouseId != null ? warehouseId.value : this.warehouseId),
  );
}