copyWith method

WebApiModulesSettingsTemplateSettingsTemplateTemplate copyWith({
  1. String? templateId,
  2. String? description,
  3. String? departmentId,
  4. String? department,
  5. String? officeLocationId,
  6. String? officeLocation,
  7. String? warehouseId,
  8. String? warehouse,
  9. String? warehouseCode,
  10. String? rateType,
  11. bool? rental,
  12. bool? sales,
  13. bool? miscellaneous,
  14. bool? labor,
  15. bool? facilities,
  16. bool? transportation,
  17. int? lines,
  18. bool? hasRentalItem,
  19. bool? hasSalesItem,
  20. bool? hasMiscellaneousItem,
  21. bool? hasLaborItem,
  22. bool? hasFacilitiesItem,
  23. String? manualSort,
  24. bool? manualSortRental,
  25. bool? manualSortSales,
  26. bool? manualSortMisc,
  27. bool? manualSortLabor,
  28. bool? manualSortLossAndDamage,
  29. bool? manualSortRentalSale,
  30. bool? manualSortParts,
  31. String? dateStamp,
  32. String? auditNote,
  33. String? recordTitle,
  34. List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>? fields,
  35. List<FwStandardDataFwCustomValue>? custom,
  36. List<FwStandardDataFwDefaultAttribute>? defaultFieldAttributes,
  37. 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);
}