copyWithWrapped method
WebApiModulesSettingsLaborSettingsCrewStatusCrewStatus
copyWithWrapped({
- Wrapped<
String?> ? crewStatusId, - Wrapped<
String?> ? crewStatus, - Wrapped<
bool?> ? availableToSchedule, - Wrapped<
String?> ? color, - Wrapped<
bool?> ? whiteText, - 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
WebApiModulesSettingsLaborSettingsCrewStatusCrewStatus copyWithWrapped(
{Wrapped<String?>? crewStatusId,
Wrapped<String?>? crewStatus,
Wrapped<bool?>? availableToSchedule,
Wrapped<String?>? color,
Wrapped<bool?>? whiteText,
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 WebApiModulesSettingsLaborSettingsCrewStatusCrewStatus(
crewStatusId:
(crewStatusId != null ? crewStatusId.value : this.crewStatusId),
crewStatus: (crewStatus != null ? crewStatus.value : this.crewStatus),
availableToSchedule: (availableToSchedule != null
? availableToSchedule.value
: this.availableToSchedule),
color: (color != null ? color.value : this.color),
whiteText: (whiteText != null ? whiteText.value : this.whiteText),
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));
}