copyWithWrapped method
WebApiModulesSettingsRateWarehouseRateWarehouse
copyWithWrapped({
- Wrapped<
String?> ? rateId, - Wrapped<
double?> ? hourlyRate, - Wrapped<
double?> ? hourlyCost, - Wrapped<
double?> ? hourlyMarkupPercent, - Wrapped<
double?> ? dailyRate, - Wrapped<
double?> ? dailyCost, - Wrapped<
double?> ? dailyMarkupPercent, - Wrapped<
double?> ? weeklyRate, - Wrapped<
double?> ? weeklyCost, - Wrapped<
double?> ? weeklyMarkupPercent, - Wrapped<
double?> ? monthlyRate, - Wrapped<
double?> ? monthlyCost, - Wrapped<
double?> ? monthlyMarkupPercent, - Wrapped<
double?> ? price, - Wrapped<
double?> ? cost, - Wrapped<
double?> ? markupPercent, - Wrapped<
String?> ? defaultStartTime, - Wrapped<
String?> ? defaultStopTime, - Wrapped<
String?> ? itemDescription, - Wrapped<
String?> ? warehouseId, - Wrapped<
String?> ? warehouseCode, - Wrapped<
String?> ? warehouse, - Wrapped<
int?> ? warehouseOrderBy, - Wrapped<
String?> ? auditNote, - Wrapped<
String?> ? recordTitle, - Wrapped? urlIdentifier,
- Wrapped<
List< ? fields,FwStandardBusinessLogicFwBusinessLogicFieldDefinition> ?> - Wrapped<
List< ? custom,FwStandardDataFwCustomValue> ?> - Wrapped<
List< ? defaultFieldAttributes,FwStandardDataFwDefaultAttribute> ?> - Wrapped<
FwStandardBusinessLogicFwBusinessLogic?> ? original, - Wrapped<
List< ? translation,FwStandardDataFwTranslatedValue> ?> - Wrapped<
bool?> ? hasImport, - Wrapped<
bool?> ? hasDocuments, - Wrapped<
String?> ? createdByUserId, - Wrapped<
String?> ? createdByUserName, - Wrapped<
String?> ? createdDateTime, - Wrapped<
String?> ? modifiedByUserId, - Wrapped<
String?> ? modifiedByUserName, - Wrapped<
String?> ? modifiedDateTime,
Implementation
WebApiModulesSettingsRateWarehouseRateWarehouse copyWithWrapped({
Wrapped<String?>? rateId,
Wrapped<double?>? hourlyRate,
Wrapped<double?>? hourlyCost,
Wrapped<double?>? hourlyMarkupPercent,
Wrapped<double?>? dailyRate,
Wrapped<double?>? dailyCost,
Wrapped<double?>? dailyMarkupPercent,
Wrapped<double?>? weeklyRate,
Wrapped<double?>? weeklyCost,
Wrapped<double?>? weeklyMarkupPercent,
Wrapped<double?>? monthlyRate,
Wrapped<double?>? monthlyCost,
Wrapped<double?>? monthlyMarkupPercent,
Wrapped<double?>? price,
Wrapped<double?>? cost,
Wrapped<double?>? markupPercent,
Wrapped<String?>? defaultStartTime,
Wrapped<String?>? defaultStopTime,
Wrapped<String?>? itemDescription,
Wrapped<String?>? warehouseId,
Wrapped<String?>? warehouseCode,
Wrapped<String?>? warehouse,
Wrapped<int?>? warehouseOrderBy,
Wrapped<String?>? auditNote,
Wrapped<String?>? recordTitle,
Wrapped<dynamic>? urlIdentifier,
Wrapped<List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>?>?
fields,
Wrapped<List<FwStandardDataFwCustomValue>?>? custom,
Wrapped<List<FwStandardDataFwDefaultAttribute>?>? defaultFieldAttributes,
Wrapped<FwStandardBusinessLogicFwBusinessLogic?>? original,
Wrapped<List<FwStandardDataFwTranslatedValue>?>? translation,
Wrapped<bool?>? hasImport,
Wrapped<bool?>? hasDocuments,
Wrapped<String?>? createdByUserId,
Wrapped<String?>? createdByUserName,
Wrapped<String?>? createdDateTime,
Wrapped<String?>? modifiedByUserId,
Wrapped<String?>? modifiedByUserName,
Wrapped<String?>? modifiedDateTime,
}) {
return WebApiModulesSettingsRateWarehouseRateWarehouse(
rateId: (rateId != null ? rateId.value : this.rateId),
hourlyRate: (hourlyRate != null ? hourlyRate.value : this.hourlyRate),
hourlyCost: (hourlyCost != null ? hourlyCost.value : this.hourlyCost),
hourlyMarkupPercent: (hourlyMarkupPercent != null
? hourlyMarkupPercent.value
: this.hourlyMarkupPercent),
dailyRate: (dailyRate != null ? dailyRate.value : this.dailyRate),
dailyCost: (dailyCost != null ? dailyCost.value : this.dailyCost),
dailyMarkupPercent: (dailyMarkupPercent != null
? dailyMarkupPercent.value
: this.dailyMarkupPercent),
weeklyRate: (weeklyRate != null ? weeklyRate.value : this.weeklyRate),
weeklyCost: (weeklyCost != null ? weeklyCost.value : this.weeklyCost),
weeklyMarkupPercent: (weeklyMarkupPercent != null
? weeklyMarkupPercent.value
: this.weeklyMarkupPercent),
monthlyRate: (monthlyRate != null ? monthlyRate.value : this.monthlyRate),
monthlyCost: (monthlyCost != null ? monthlyCost.value : this.monthlyCost),
monthlyMarkupPercent: (monthlyMarkupPercent != null
? monthlyMarkupPercent.value
: this.monthlyMarkupPercent),
price: (price != null ? price.value : this.price),
cost: (cost != null ? cost.value : this.cost),
markupPercent: (markupPercent != null
? markupPercent.value
: this.markupPercent),
defaultStartTime: (defaultStartTime != null
? defaultStartTime.value
: this.defaultStartTime),
defaultStopTime: (defaultStopTime != null
? defaultStopTime.value
: this.defaultStopTime),
itemDescription: (itemDescription != null
? itemDescription.value
: this.itemDescription),
warehouseId: (warehouseId != null ? warehouseId.value : this.warehouseId),
warehouseCode: (warehouseCode != null
? warehouseCode.value
: this.warehouseCode),
warehouse: (warehouse != null ? warehouse.value : this.warehouse),
warehouseOrderBy: (warehouseOrderBy != null
? warehouseOrderBy.value
: this.warehouseOrderBy),
auditNote: (auditNote != null ? auditNote.value : this.auditNote),
recordTitle: (recordTitle != null ? recordTitle.value : this.recordTitle),
urlIdentifier: (urlIdentifier != null
? urlIdentifier.value
: this.urlIdentifier),
fields: (fields != null ? fields.value : this.fields),
custom: (custom != null ? custom.value : this.custom),
defaultFieldAttributes: (defaultFieldAttributes != null
? defaultFieldAttributes.value
: this.defaultFieldAttributes),
original: (original != null ? original.value : this.original),
translation: (translation != null ? translation.value : this.translation),
hasImport: (hasImport != null ? hasImport.value : this.hasImport),
hasDocuments: (hasDocuments != null
? hasDocuments.value
: this.hasDocuments),
createdByUserId: (createdByUserId != null
? createdByUserId.value
: this.createdByUserId),
createdByUserName: (createdByUserName != null
? createdByUserName.value
: this.createdByUserName),
createdDateTime: (createdDateTime != null
? createdDateTime.value
: this.createdDateTime),
modifiedByUserId: (modifiedByUserId != null
? modifiedByUserId.value
: this.modifiedByUserId),
modifiedByUserName: (modifiedByUserName != null
? modifiedByUserName.value
: this.modifiedByUserName),
modifiedDateTime: (modifiedDateTime != null
? modifiedDateTime.value
: this.modifiedDateTime),
);
}