copyWith method

WebApiModulesReportsFixedAssetBookValueFixedAssetBookValueRequest copyWith({
  1. DateTime? asOfDate,
  2. String? ranks,
  3. List<FwStandardModelsSelectedCheckBoxListItem>? trackedBys,
  4. bool? excludeFullyDepreciated,
  5. String? warehouseId,
  6. String? inventoryTypeId,
  7. String? categoryId,
  8. String? subCategoryId,
  9. String? inventoryId,
  10. String? userDepartmentId,
  11. String? userLocationId,
  12. String? userWarehouseId,
  13. String? customReportLayoutId,
  14. bool? isSummary,
  15. bool? includeSubHeadingsAndSubTotals,
  16. bool? includeIdColumns,
  17. String? locale,
  18. List<FwStandardModelsCheckBoxListItem>? excelfields,
  19. String? reportName,
  20. bool? useEmailTemplate,
})

Implementation

WebApiModulesReportsFixedAssetBookValueFixedAssetBookValueRequest copyWith({
  DateTime? asOfDate,
  String? ranks,
  List<FwStandardModelsSelectedCheckBoxListItem>? trackedBys,
  bool? excludeFullyDepreciated,
  String? warehouseId,
  String? inventoryTypeId,
  String? categoryId,
  String? subCategoryId,
  String? inventoryId,
  String? userDepartmentId,
  String? userLocationId,
  String? userWarehouseId,
  String? customReportLayoutId,
  bool? isSummary,
  bool? includeSubHeadingsAndSubTotals,
  bool? includeIdColumns,
  String? locale,
  List<FwStandardModelsCheckBoxListItem>? excelfields,
  String? reportName,
  bool? useEmailTemplate,
}) {
  return WebApiModulesReportsFixedAssetBookValueFixedAssetBookValueRequest(
    asOfDate: asOfDate ?? this.asOfDate,
    ranks: ranks ?? this.ranks,
    trackedBys: trackedBys ?? this.trackedBys,
    excludeFullyDepreciated:
        excludeFullyDepreciated ?? this.excludeFullyDepreciated,
    warehouseId: warehouseId ?? this.warehouseId,
    inventoryTypeId: inventoryTypeId ?? this.inventoryTypeId,
    categoryId: categoryId ?? this.categoryId,
    subCategoryId: subCategoryId ?? this.subCategoryId,
    inventoryId: inventoryId ?? this.inventoryId,
    userDepartmentId: userDepartmentId ?? this.userDepartmentId,
    userLocationId: userLocationId ?? this.userLocationId,
    userWarehouseId: userWarehouseId ?? this.userWarehouseId,
    customReportLayoutId: customReportLayoutId ?? this.customReportLayoutId,
    isSummary: isSummary ?? this.isSummary,
    includeSubHeadingsAndSubTotals:
        includeSubHeadingsAndSubTotals ?? this.includeSubHeadingsAndSubTotals,
    includeIdColumns: includeIdColumns ?? this.includeIdColumns,
    locale: locale ?? this.locale,
    excelfields: excelfields ?? this.excelfields,
    reportName: reportName ?? this.reportName,
    useEmailTemplate: useEmailTemplate ?? this.useEmailTemplate,
  );
}