copyWithWrapped method
WebApiModulesAgentOrderModifyPoWorksheetSessionResponse
copyWithWrapped({
- Wrapped<
String?> ? sessionId, - Wrapped<
String?> ? vendorId, - Wrapped<
String?> ? vendor, - Wrapped<
String?> ? contactId, - Wrapped<
String?> ? poTypeId, - Wrapped<
String?> ? poType, - Wrapped<
String?> ? contact, - Wrapped<
String?> ? rateType, - Wrapped<
String?> ? billingCycleId, - Wrapped<
String?> ? billingCycle, - Wrapped<
DateTime?> ? requiredDate, - Wrapped<
String?> ? requiredTime, - Wrapped<
DateTime?> ? fromDate, - Wrapped<
DateTime?> ? toDate, - Wrapped<
String?> ? deliveryId, - Wrapped<
bool?> ? adjustContractDates, - Wrapped<
bool?> ? isInternal, - Wrapped<
int?> ? status, - Wrapped<
bool?> ? success, - Wrapped<
String?> ? msg,
Implementation
WebApiModulesAgentOrderModifyPoWorksheetSessionResponse copyWithWrapped(
{Wrapped<String?>? sessionId,
Wrapped<String?>? vendorId,
Wrapped<String?>? vendor,
Wrapped<String?>? contactId,
Wrapped<String?>? poTypeId,
Wrapped<String?>? poType,
Wrapped<String?>? contact,
Wrapped<String?>? rateType,
Wrapped<String?>? billingCycleId,
Wrapped<String?>? billingCycle,
Wrapped<DateTime?>? requiredDate,
Wrapped<String?>? requiredTime,
Wrapped<DateTime?>? fromDate,
Wrapped<DateTime?>? toDate,
Wrapped<String?>? deliveryId,
Wrapped<bool?>? adjustContractDates,
Wrapped<bool?>? isInternal,
Wrapped<int?>? status,
Wrapped<bool?>? success,
Wrapped<String?>? msg}) {
return WebApiModulesAgentOrderModifyPoWorksheetSessionResponse(
sessionId: (sessionId != null ? sessionId.value : this.sessionId),
vendorId: (vendorId != null ? vendorId.value : this.vendorId),
vendor: (vendor != null ? vendor.value : this.vendor),
contactId: (contactId != null ? contactId.value : this.contactId),
poTypeId: (poTypeId != null ? poTypeId.value : this.poTypeId),
poType: (poType != null ? poType.value : this.poType),
contact: (contact != null ? contact.value : this.contact),
rateType: (rateType != null ? rateType.value : this.rateType),
billingCycleId: (billingCycleId != null
? billingCycleId.value
: this.billingCycleId),
billingCycle:
(billingCycle != null ? billingCycle.value : this.billingCycle),
requiredDate:
(requiredDate != null ? requiredDate.value : this.requiredDate),
requiredTime:
(requiredTime != null ? requiredTime.value : this.requiredTime),
fromDate: (fromDate != null ? fromDate.value : this.fromDate),
toDate: (toDate != null ? toDate.value : this.toDate),
deliveryId: (deliveryId != null ? deliveryId.value : this.deliveryId),
adjustContractDates: (adjustContractDates != null
? adjustContractDates.value
: this.adjustContractDates),
isInternal: (isInternal != null ? isInternal.value : this.isInternal),
status: (status != null ? status.value : this.status),
success: (success != null ? success.value : this.success),
msg: (msg != null ? msg.value : this.msg));
}