copyWith method
WebApiModulesSettingsLaborSettingsCrewScheduleStatusCrewScheduleStatus
copyWith({
- String? scheduleStatusId,
- String? scheduleStatus,
- String? statusAction,
- String? color,
- bool? whiteText,
- bool? inactive,
- String? dateStamp,
- String? auditNote,
- String? recordTitle,
- List<
FwStandardBusinessLogicFwBusinessLogicFieldDefinition> ? fields, - List<
FwStandardDataFwCustomValue> ? custom, - List<
FwStandardDataFwDefaultAttribute> ? defaultFieldAttributes, - List<
FwStandardDataFwTranslatedValue> ? translation,
Implementation
WebApiModulesSettingsLaborSettingsCrewScheduleStatusCrewScheduleStatus
copyWith(
{String? scheduleStatusId,
String? scheduleStatus,
String? statusAction,
String? color,
bool? whiteText,
bool? inactive,
String? dateStamp,
String? auditNote,
String? recordTitle,
List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>? fields,
List<FwStandardDataFwCustomValue>? custom,
List<FwStandardDataFwDefaultAttribute>? defaultFieldAttributes,
List<FwStandardDataFwTranslatedValue>? translation}) {
return WebApiModulesSettingsLaborSettingsCrewScheduleStatusCrewScheduleStatus(
scheduleStatusId: scheduleStatusId ?? this.scheduleStatusId,
scheduleStatus: scheduleStatus ?? this.scheduleStatus,
statusAction: statusAction ?? this.statusAction,
color: color ?? this.color,
whiteText: whiteText ?? this.whiteText,
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);
}