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? userDepartmentId,
  14. String? userLocationId,
  15. String? userWarehouseId,
  16. String? customReportLayoutId,
  17. bool? isSummary,
  18. bool? includeSubHeadingsAndSubTotals,
  19. bool? includeIdColumns,
  20. String? locale,
  21. List<FwStandardModelsCheckBoxListItem>? excelfields,
  22. String? reportName,
  23. bool? useEmailTemplate,
})

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? userDepartmentId,
        String? userLocationId,
        String? userWarehouseId,
        String? customReportLayoutId,
        bool? isSummary,
        bool? includeSubHeadingsAndSubTotals,
        bool? includeIdColumns,
        String? locale,
        List<FwStandardModelsCheckBoxListItem>? excelfields,
        String? reportName,
        bool? useEmailTemplate}) {
  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,
      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);
}