copyWith method
WebApiModulesSettingsTemplateSettingsTemplateTemplate
copyWith({
- String? templateId,
- String? description,
- String? departmentId,
- String? department,
- String? officeLocationId,
- String? officeLocation,
- String? warehouseId,
- String? warehouse,
- String? warehouseCode,
- String? rateType,
- bool? rental,
- bool? sales,
- bool? miscellaneous,
- bool? labor,
- bool? facilities,
- bool? transportation,
- int? lines,
- bool? hasRentalItem,
- bool? hasSalesItem,
- bool? hasMiscellaneousItem,
- bool? hasLaborItem,
- bool? hasFacilitiesItem,
- String? manualSort,
- bool? manualSortRental,
- bool? manualSortSales,
- bool? manualSortMisc,
- bool? manualSortLabor,
- bool? manualSortLossAndDamage,
- bool? manualSortRentalSale,
- bool? manualSortParts,
- String? dateStamp,
- String? auditNote,
- String? recordTitle,
- List<
FwStandardBusinessLogicFwBusinessLogicFieldDefinition> ? fields, - List<
FwStandardDataFwCustomValue> ? custom, - List<
FwStandardDataFwDefaultAttribute> ? defaultFieldAttributes, - List<
FwStandardDataFwTranslatedValue> ? translation,
Implementation
WebApiModulesSettingsTemplateSettingsTemplateTemplate copyWith(
{String? templateId,
String? description,
String? departmentId,
String? department,
String? officeLocationId,
String? officeLocation,
String? warehouseId,
String? warehouse,
String? warehouseCode,
String? rateType,
bool? rental,
bool? sales,
bool? miscellaneous,
bool? labor,
bool? facilities,
bool? transportation,
int? lines,
bool? hasRentalItem,
bool? hasSalesItem,
bool? hasMiscellaneousItem,
bool? hasLaborItem,
bool? hasFacilitiesItem,
String? manualSort,
bool? manualSortRental,
bool? manualSortSales,
bool? manualSortMisc,
bool? manualSortLabor,
bool? manualSortLossAndDamage,
bool? manualSortRentalSale,
bool? manualSortParts,
String? dateStamp,
String? auditNote,
String? recordTitle,
List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>? fields,
List<FwStandardDataFwCustomValue>? custom,
List<FwStandardDataFwDefaultAttribute>? defaultFieldAttributes,
List<FwStandardDataFwTranslatedValue>? translation}) {
return WebApiModulesSettingsTemplateSettingsTemplateTemplate(
templateId: templateId ?? this.templateId,
description: description ?? this.description,
departmentId: departmentId ?? this.departmentId,
department: department ?? this.department,
officeLocationId: officeLocationId ?? this.officeLocationId,
officeLocation: officeLocation ?? this.officeLocation,
warehouseId: warehouseId ?? this.warehouseId,
warehouse: warehouse ?? this.warehouse,
warehouseCode: warehouseCode ?? this.warehouseCode,
rateType: rateType ?? this.rateType,
rental: rental ?? this.rental,
sales: sales ?? this.sales,
miscellaneous: miscellaneous ?? this.miscellaneous,
labor: labor ?? this.labor,
facilities: facilities ?? this.facilities,
transportation: transportation ?? this.transportation,
lines: lines ?? this.lines,
hasRentalItem: hasRentalItem ?? this.hasRentalItem,
hasSalesItem: hasSalesItem ?? this.hasSalesItem,
hasMiscellaneousItem: hasMiscellaneousItem ?? this.hasMiscellaneousItem,
hasLaborItem: hasLaborItem ?? this.hasLaborItem,
hasFacilitiesItem: hasFacilitiesItem ?? this.hasFacilitiesItem,
manualSort: manualSort ?? this.manualSort,
manualSortRental: manualSortRental ?? this.manualSortRental,
manualSortSales: manualSortSales ?? this.manualSortSales,
manualSortMisc: manualSortMisc ?? this.manualSortMisc,
manualSortLabor: manualSortLabor ?? this.manualSortLabor,
manualSortLossAndDamage:
manualSortLossAndDamage ?? this.manualSortLossAndDamage,
manualSortRentalSale: manualSortRentalSale ?? this.manualSortRentalSale,
manualSortParts: manualSortParts ?? this.manualSortParts,
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);
}