copyWith method

WebApiModulesReportsMultiLocationReportsTransferReportTransferReportRequest copyWith({
  1. DateTime? fromDate,
  2. DateTime? toDate,
  3. String? dateType,
  4. String? fromWarehouseId,
  5. String? toWarehouseId,
  6. String? departmentId,
  7. String? transferId,
  8. String? inventoryTypeId,
  9. String? categoryId,
  10. String? subCategoryId,
  11. String? inventoryId,
  12. List<FwStandardModelsSelectedCheckBoxListItem>? statuses,
  13. String? customReportLayoutId,
  14. bool? isSummary,
  15. bool? includeSubHeadingsAndSubTotals,
  16. bool? includeIdColumns,
  17. String? locale,
  18. List<FwStandardModelsCheckBoxListItem>? excelfields,
})

Implementation

WebApiModulesReportsMultiLocationReportsTransferReportTransferReportRequest
    copyWith(
        {DateTime? fromDate,
        DateTime? toDate,
        String? dateType,
        String? fromWarehouseId,
        String? toWarehouseId,
        String? departmentId,
        String? transferId,
        String? inventoryTypeId,
        String? categoryId,
        String? subCategoryId,
        String? inventoryId,
        List<FwStandardModelsSelectedCheckBoxListItem>? statuses,
        String? customReportLayoutId,
        bool? isSummary,
        bool? includeSubHeadingsAndSubTotals,
        bool? includeIdColumns,
        String? locale,
        List<FwStandardModelsCheckBoxListItem>? excelfields}) {
  return WebApiModulesReportsMultiLocationReportsTransferReportTransferReportRequest(
      fromDate: fromDate ?? this.fromDate,
      toDate: toDate ?? this.toDate,
      dateType: dateType ?? this.dateType,
      fromWarehouseId: fromWarehouseId ?? this.fromWarehouseId,
      toWarehouseId: toWarehouseId ?? this.toWarehouseId,
      departmentId: departmentId ?? this.departmentId,
      transferId: transferId ?? this.transferId,
      inventoryTypeId: inventoryTypeId ?? this.inventoryTypeId,
      categoryId: categoryId ?? this.categoryId,
      subCategoryId: subCategoryId ?? this.subCategoryId,
      inventoryId: inventoryId ?? this.inventoryId,
      statuses: statuses ?? this.statuses,
      customReportLayoutId: customReportLayoutId ?? this.customReportLayoutId,
      isSummary: isSummary ?? this.isSummary,
      includeSubHeadingsAndSubTotals: includeSubHeadingsAndSubTotals ??
          this.includeSubHeadingsAndSubTotals,
      includeIdColumns: includeIdColumns ?? this.includeIdColumns,
      locale: locale ?? this.locale,
      excelfields: excelfields ?? this.excelfields);
}