copyWith method

WebApiModulesReportsFixedAssetBookValueFixedAssetBookValueRequest copyWith({
  1. DateTime? asOfDate,
  2. List<FwStandardModelsSelectedCheckBoxListItem>? 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? customReportLayoutId,
  11. bool? isSummary,
  12. bool? includeSubHeadingsAndSubTotals,
  13. bool? includeIdColumns,
  14. String? locale,
  15. List<FwStandardModelsCheckBoxListItem>? excelfields,
})

Implementation

WebApiModulesReportsFixedAssetBookValueFixedAssetBookValueRequest copyWith(
    {DateTime? asOfDate,
    List<FwStandardModelsSelectedCheckBoxListItem>? ranks,
    List<FwStandardModelsSelectedCheckBoxListItem>? trackedBys,
    bool? excludeFullyDepreciated,
    String? warehouseId,
    String? inventoryTypeId,
    String? categoryId,
    String? subCategoryId,
    String? inventoryId,
    String? customReportLayoutId,
    bool? isSummary,
    bool? includeSubHeadingsAndSubTotals,
    bool? includeIdColumns,
    String? locale,
    List<FwStandardModelsCheckBoxListItem>? excelfields}) {
  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,
      customReportLayoutId: customReportLayoutId ?? this.customReportLayoutId,
      isSummary: isSummary ?? this.isSummary,
      includeSubHeadingsAndSubTotals: includeSubHeadingsAndSubTotals ??
          this.includeSubHeadingsAndSubTotals,
      includeIdColumns: includeIdColumns ?? this.includeIdColumns,
      locale: locale ?? this.locale,
      excelfields: excelfields ?? this.excelfields);
}