copyWith method
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,
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);
}