copyWith method

WebApiModulesSettingsLaborSettingsCrewStatusCrewStatus copyWith({
  1. String? crewStatusId,
  2. String? crewStatus,
  3. bool? availableToSchedule,
  4. String? color,
  5. bool? whiteText,
  6. bool? inactive,
  7. String? dateStamp,
  8. String? auditNote,
  9. String? recordTitle,
  10. dynamic urlIdentifier,
  11. List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>? fields,
  12. List<FwStandardDataFwCustomValue>? custom,
  13. List<FwStandardDataFwDefaultAttribute>? defaultFieldAttributes,
  14. FwStandardBusinessLogicFwBusinessLogic? original,
  15. List<FwStandardDataFwTranslatedValue>? translation,
  16. bool? hasImport,
  17. String? createdByUserId,
  18. String? createdByUserName,
  19. String? createdDateTime,
  20. String? modifiedByUserId,
  21. String? modifiedByUserName,
  22. String? modifiedDateTime,
})

Implementation

WebApiModulesSettingsLaborSettingsCrewStatusCrewStatus copyWith({
  String? crewStatusId,
  String? crewStatus,
  bool? availableToSchedule,
  String? color,
  bool? whiteText,
  bool? inactive,
  String? dateStamp,
  String? auditNote,
  String? recordTitle,
  dynamic urlIdentifier,
  List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>? fields,
  List<FwStandardDataFwCustomValue>? custom,
  List<FwStandardDataFwDefaultAttribute>? defaultFieldAttributes,
  FwStandardBusinessLogicFwBusinessLogic? original,
  List<FwStandardDataFwTranslatedValue>? translation,
  bool? hasImport,
  String? createdByUserId,
  String? createdByUserName,
  String? createdDateTime,
  String? modifiedByUserId,
  String? modifiedByUserName,
  String? modifiedDateTime,
}) {
  return WebApiModulesSettingsLaborSettingsCrewStatusCrewStatus(
    crewStatusId: crewStatusId ?? this.crewStatusId,
    crewStatus: crewStatus ?? this.crewStatus,
    availableToSchedule: availableToSchedule ?? this.availableToSchedule,
    color: color ?? this.color,
    whiteText: whiteText ?? this.whiteText,
    inactive: inactive ?? this.inactive,
    dateStamp: dateStamp ?? this.dateStamp,
    auditNote: auditNote ?? this.auditNote,
    recordTitle: recordTitle ?? this.recordTitle,
    urlIdentifier: urlIdentifier ?? this.urlIdentifier,
    fields: fields ?? this.fields,
    custom: custom ?? this.custom,
    defaultFieldAttributes:
        defaultFieldAttributes ?? this.defaultFieldAttributes,
    original: original ?? this.original,
    translation: translation ?? this.translation,
    hasImport: hasImport ?? this.hasImport,
    createdByUserId: createdByUserId ?? this.createdByUserId,
    createdByUserName: createdByUserName ?? this.createdByUserName,
    createdDateTime: createdDateTime ?? this.createdDateTime,
    modifiedByUserId: modifiedByUserId ?? this.modifiedByUserId,
    modifiedByUserName: modifiedByUserName ?? this.modifiedByUserName,
    modifiedDateTime: modifiedDateTime ?? this.modifiedDateTime,
  );
}