copyWith method

WebApiModulesAgentOrderUpdatePoWorksheetSessionRequest copyWith({
  1. String? recType,
  2. String? vendorId,
  3. String? contactId,
  4. String? rateType,
  5. String? currencyId,
  6. String? billingCycleId,
  7. DateTime? requiredDate,
  8. String? requiredTime,
  9. DateTime? fromDate,
  10. DateTime? toDate,
  11. String? deliveryId,
  12. bool? adjustContractDates,
})

Implementation

WebApiModulesAgentOrderUpdatePoWorksheetSessionRequest copyWith(
    {String? recType,
    String? vendorId,
    String? contactId,
    String? rateType,
    String? currencyId,
    String? billingCycleId,
    DateTime? requiredDate,
    String? requiredTime,
    DateTime? fromDate,
    DateTime? toDate,
    String? deliveryId,
    bool? adjustContractDates}) {
  return WebApiModulesAgentOrderUpdatePoWorksheetSessionRequest(
      recType: recType ?? this.recType,
      vendorId: vendorId ?? this.vendorId,
      contactId: contactId ?? this.contactId,
      rateType: rateType ?? this.rateType,
      currencyId: currencyId ?? this.currencyId,
      billingCycleId: billingCycleId ?? this.billingCycleId,
      requiredDate: requiredDate ?? this.requiredDate,
      requiredTime: requiredTime ?? this.requiredTime,
      fromDate: fromDate ?? this.fromDate,
      toDate: toDate ?? this.toDate,
      deliveryId: deliveryId ?? this.deliveryId,
      adjustContractDates: adjustContractDates ?? this.adjustContractDates);
}