copyWithWrapped method
WebApiModulesSettingsCrewPositionCrewPosition
copyWithWrapped({
- Wrapped<
String?> ? crewPositionId, - Wrapped<
String?> ? crewId, - Wrapped<
String?> ? rateId, - Wrapped<
String?> ? laborTypeId, - Wrapped<
String?> ? laborType, - Wrapped<
String?> ? description, - Wrapped<
double?> ? costHourly, - Wrapped<
double?> ? costDaily, - Wrapped<
double?> ? costWeekly, - Wrapped<
double?> ? costMonthly, - Wrapped<
bool?> ? isPrimary, - Wrapped<
String?> ? effectiveDate, - Wrapped<
String?> ? endDate, - Wrapped<
bool?> ? inactive, - Wrapped<
String?> ? dateStamp, - Wrapped<
String?> ? auditNote, - Wrapped<
String?> ? recordTitle, - Wrapped<
List< ? fields,FwStandardBusinessLogicFwBusinessLogicFieldDefinition> ?> - Wrapped<
List< ? custom,FwStandardDataFwCustomValue> ?> - Wrapped<
List< ? defaultFieldAttributes,FwStandardDataFwDefaultAttribute> ?> - Wrapped<
List< ? translation,FwStandardDataFwTranslatedValue> ?>
Implementation
WebApiModulesSettingsCrewPositionCrewPosition copyWithWrapped(
{Wrapped<String?>? crewPositionId,
Wrapped<String?>? crewId,
Wrapped<String?>? rateId,
Wrapped<String?>? laborTypeId,
Wrapped<String?>? laborType,
Wrapped<String?>? description,
Wrapped<double?>? costHourly,
Wrapped<double?>? costDaily,
Wrapped<double?>? costWeekly,
Wrapped<double?>? costMonthly,
Wrapped<bool?>? isPrimary,
Wrapped<String?>? effectiveDate,
Wrapped<String?>? endDate,
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 WebApiModulesSettingsCrewPositionCrewPosition(
crewPositionId: (crewPositionId != null
? crewPositionId.value
: this.crewPositionId),
crewId: (crewId != null ? crewId.value : this.crewId),
rateId: (rateId != null ? rateId.value : this.rateId),
laborTypeId:
(laborTypeId != null ? laborTypeId.value : this.laborTypeId),
laborType: (laborType != null ? laborType.value : this.laborType),
description:
(description != null ? description.value : this.description),
costHourly: (costHourly != null ? costHourly.value : this.costHourly),
costDaily: (costDaily != null ? costDaily.value : this.costDaily),
costWeekly: (costWeekly != null ? costWeekly.value : this.costWeekly),
costMonthly:
(costMonthly != null ? costMonthly.value : this.costMonthly),
isPrimary: (isPrimary != null ? isPrimary.value : this.isPrimary),
effectiveDate:
(effectiveDate != null ? effectiveDate.value : this.effectiveDate),
endDate: (endDate != null ? endDate.value : this.endDate),
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));
}