copyWith method

WebApiModulesAgentProjectProject copyWith({
  1. String? projectId,
  2. String? projectNumber,
  3. String? project,
  4. String? officeLocationId,
  5. String? officeLocation,
  6. String? warehouseId,
  7. String? warehouse,
  8. String? departmentId,
  9. String? department,
  10. String? dealId,
  11. String? deal,
  12. String? status,
  13. String? statusDate,
  14. String? projectManagerId,
  15. String? projectManager,
  16. String? agentId,
  17. String? agent,
  18. String? primaryContact,
  19. String? requestedBy,
  20. String? outsideSalesRepresentativeId,
  21. String? outsideSalesRepresentative,
  22. String? projectDescription,
  23. bool? rental,
  24. bool? sales,
  25. bool? facilities,
  26. bool? labor,
  27. bool? miscellaneous,
  28. bool? transportation,
  29. bool? rentalSale,
  30. String? pickDate,
  31. String? pickTime,
  32. String? estimatedStartDate,
  33. String? estimatedStartTime,
  34. String? estimatedStopDate,
  35. String? estimatedStopTime,
  36. bool? ccPrimaryApproverWhenEmailingBackupApprover,
  37. bool? inactive,
  38. String? dateStamp,
  39. String? auditNote,
  40. String? recordTitle,
  41. List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>? fields,
  42. List<FwStandardDataFwCustomValue>? custom,
  43. List<FwStandardDataFwDefaultAttribute>? defaultFieldAttributes,
  44. List<FwStandardDataFwTranslatedValue>? translation,
})

Implementation

WebApiModulesAgentProjectProject copyWith(
    {String? projectId,
    String? projectNumber,
    String? project,
    String? officeLocationId,
    String? officeLocation,
    String? warehouseId,
    String? warehouse,
    String? departmentId,
    String? department,
    String? dealId,
    String? deal,
    String? status,
    String? statusDate,
    String? projectManagerId,
    String? projectManager,
    String? agentId,
    String? agent,
    String? primaryContact,
    String? requestedBy,
    String? outsideSalesRepresentativeId,
    String? outsideSalesRepresentative,
    String? projectDescription,
    bool? rental,
    bool? sales,
    bool? facilities,
    bool? labor,
    bool? miscellaneous,
    bool? transportation,
    bool? rentalSale,
    String? pickDate,
    String? pickTime,
    String? estimatedStartDate,
    String? estimatedStartTime,
    String? estimatedStopDate,
    String? estimatedStopTime,
    bool? ccPrimaryApproverWhenEmailingBackupApprover,
    bool? inactive,
    String? dateStamp,
    String? auditNote,
    String? recordTitle,
    List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>? fields,
    List<FwStandardDataFwCustomValue>? custom,
    List<FwStandardDataFwDefaultAttribute>? defaultFieldAttributes,
    List<FwStandardDataFwTranslatedValue>? translation}) {
  return WebApiModulesAgentProjectProject(
      projectId: projectId ?? this.projectId,
      projectNumber: projectNumber ?? this.projectNumber,
      project: project ?? this.project,
      officeLocationId: officeLocationId ?? this.officeLocationId,
      officeLocation: officeLocation ?? this.officeLocation,
      warehouseId: warehouseId ?? this.warehouseId,
      warehouse: warehouse ?? this.warehouse,
      departmentId: departmentId ?? this.departmentId,
      department: department ?? this.department,
      dealId: dealId ?? this.dealId,
      deal: deal ?? this.deal,
      status: status ?? this.status,
      statusDate: statusDate ?? this.statusDate,
      projectManagerId: projectManagerId ?? this.projectManagerId,
      projectManager: projectManager ?? this.projectManager,
      agentId: agentId ?? this.agentId,
      agent: agent ?? this.agent,
      primaryContact: primaryContact ?? this.primaryContact,
      requestedBy: requestedBy ?? this.requestedBy,
      outsideSalesRepresentativeId:
          outsideSalesRepresentativeId ?? this.outsideSalesRepresentativeId,
      outsideSalesRepresentative:
          outsideSalesRepresentative ?? this.outsideSalesRepresentative,
      projectDescription: projectDescription ?? this.projectDescription,
      rental: rental ?? this.rental,
      sales: sales ?? this.sales,
      facilities: facilities ?? this.facilities,
      labor: labor ?? this.labor,
      miscellaneous: miscellaneous ?? this.miscellaneous,
      transportation: transportation ?? this.transportation,
      rentalSale: rentalSale ?? this.rentalSale,
      pickDate: pickDate ?? this.pickDate,
      pickTime: pickTime ?? this.pickTime,
      estimatedStartDate: estimatedStartDate ?? this.estimatedStartDate,
      estimatedStartTime: estimatedStartTime ?? this.estimatedStartTime,
      estimatedStopDate: estimatedStopDate ?? this.estimatedStopDate,
      estimatedStopTime: estimatedStopTime ?? this.estimatedStopTime,
      ccPrimaryApproverWhenEmailingBackupApprover:
          ccPrimaryApproverWhenEmailingBackupApprover ??
              this.ccPrimaryApproverWhenEmailingBackupApprover,
      inactive: inactive ?? this.inactive,
      dateStamp: dateStamp ?? this.dateStamp,
      auditNote: auditNote ?? this.auditNote,
      recordTitle: recordTitle ?? this.recordTitle,
      fields: fields ?? this.fields,
      custom: custom ?? this.custom,
      defaultFieldAttributes:
          defaultFieldAttributes ?? this.defaultFieldAttributes,
      translation: translation ?? this.translation);
}