copyWithWrapped method
Implementation
WebApiModulesWarehouseCheckInSessionSettingsResponse copyWithWrapped({
Wrapped<String?>? dealId,
Wrapped<String?>? departmentId,
Wrapped<String?>? locationId,
Wrapped<String?>? warehouseId,
Wrapped<bool?>? hasPendingExchange,
Wrapped<bool?>? hasException,
Wrapped<List<WebApiModulesWarehouseCheckInCheckInOrder>?>? orders,
}) {
return WebApiModulesWarehouseCheckInSessionSettingsResponse(
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),
hasPendingExchange: (hasPendingExchange != null
? hasPendingExchange.value
: this.hasPendingExchange),
hasException: (hasException != null
? hasException.value
: this.hasException),
orders: (orders != null ? orders.value : this.orders),
);
}