copyWithWrapped method

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

Implementation

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