copyWith method
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,
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);
}