copyWith method

WebApiModulesSettingsLaborSettingsCrewScheduleStatusCrewScheduleStatus copyWith({
  1. String? scheduleStatusId,
  2. String? scheduleStatus,
  3. String? statusAction,
  4. String? color,
  5. bool? whiteText,
  6. bool? inactive,
  7. String? dateStamp,
  8. String? auditNote,
  9. String? recordTitle,
  10. List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>? fields,
  11. List<FwStandardDataFwCustomValue>? custom,
  12. List<FwStandardDataFwDefaultAttribute>? defaultFieldAttributes,
  13. 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);
}