copyWith method

WebApiModulesSettingsCrewPositionCrewPosition copyWith({
  1. String? crewPositionId,
  2. String? crewId,
  3. String? rateId,
  4. String? laborTypeId,
  5. String? laborType,
  6. String? description,
  7. double? costHourly,
  8. double? costDaily,
  9. double? costWeekly,
  10. double? costMonthly,
  11. bool? isPrimary,
  12. String? effectiveDate,
  13. String? endDate,
  14. bool? inactive,
  15. String? dateStamp,
  16. String? auditNote,
  17. String? recordTitle,
  18. List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>? fields,
  19. List<FwStandardDataFwCustomValue>? custom,
  20. List<FwStandardDataFwDefaultAttribute>? defaultFieldAttributes,
  21. List<FwStandardDataFwTranslatedValue>? translation,
})

Implementation

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