copyWithWrapped method
Implementation
WebApiModulesWarehouseCheckInCheckInSessionInfo copyWithWrapped({
Wrapped<String?>? contractId,
Wrapped<int?>? sessionNumber,
Wrapped<String?>? dealId,
Wrapped<String?>? deal,
Wrapped<String?>? departmentId,
Wrapped<String?>? department,
Wrapped<bool?>? hasSales,
}) {
return WebApiModulesWarehouseCheckInCheckInSessionInfo(
contractId: (contractId != null ? contractId.value : this.contractId),
sessionNumber: (sessionNumber != null
? sessionNumber.value
: this.sessionNumber),
dealId: (dealId != null ? dealId.value : this.dealId),
deal: (deal != null ? deal.value : this.deal),
departmentId: (departmentId != null
? departmentId.value
: this.departmentId),
department: (department != null ? department.value : this.department),
hasSales: (hasSales != null ? hasSales.value : this.hasSales),
);
}