copyWith method

WebApiModulesAgentOrderModifyPoWorksheetSessionResponse copyWith({
  1. String? sessionId,
  2. String? vendorId,
  3. String? vendor,
  4. String? contactId,
  5. String? poTypeId,
  6. String? poType,
  7. String? contact,
  8. String? rateType,
  9. String? billingCycleId,
  10. String? billingCycle,
  11. DateTime? requiredDate,
  12. String? requiredTime,
  13. DateTime? fromDate,
  14. DateTime? toDate,
  15. String? deliveryId,
  16. bool? adjustContractDates,
  17. bool? isInternal,
  18. int? status,
  19. bool? success,
  20. String? msg,
})

Implementation

WebApiModulesAgentOrderModifyPoWorksheetSessionResponse copyWith(
    {String? sessionId,
    String? vendorId,
    String? vendor,
    String? contactId,
    String? poTypeId,
    String? poType,
    String? contact,
    String? rateType,
    String? billingCycleId,
    String? billingCycle,
    DateTime? requiredDate,
    String? requiredTime,
    DateTime? fromDate,
    DateTime? toDate,
    String? deliveryId,
    bool? adjustContractDates,
    bool? isInternal,
    int? status,
    bool? success,
    String? msg}) {
  return WebApiModulesAgentOrderModifyPoWorksheetSessionResponse(
      sessionId: sessionId ?? this.sessionId,
      vendorId: vendorId ?? this.vendorId,
      vendor: vendor ?? this.vendor,
      contactId: contactId ?? this.contactId,
      poTypeId: poTypeId ?? this.poTypeId,
      poType: poType ?? this.poType,
      contact: contact ?? this.contact,
      rateType: rateType ?? this.rateType,
      billingCycleId: billingCycleId ?? this.billingCycleId,
      billingCycle: billingCycle ?? this.billingCycle,
      requiredDate: requiredDate ?? this.requiredDate,
      requiredTime: requiredTime ?? this.requiredTime,
      fromDate: fromDate ?? this.fromDate,
      toDate: toDate ?? this.toDate,
      deliveryId: deliveryId ?? this.deliveryId,
      adjustContractDates: adjustContractDates ?? this.adjustContractDates,
      isInternal: isInternal ?? this.isInternal,
      status: status ?? this.status,
      success: success ?? this.success,
      msg: msg ?? this.msg);
}