copyWithWrapped method

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

Implementation

WebApiModulesReportsMultiLocationReportsTransferReportTransferReportRequest
    copyWithWrapped(
        {Wrapped<DateTime?>? fromDate,
        Wrapped<DateTime?>? toDate,
        Wrapped<String?>? dateType,
        Wrapped<String?>? fromWarehouseId,
        Wrapped<String?>? toWarehouseId,
        Wrapped<String?>? departmentId,
        Wrapped<String?>? transferId,
        Wrapped<String?>? inventoryTypeId,
        Wrapped<String?>? categoryId,
        Wrapped<String?>? subCategoryId,
        Wrapped<String?>? inventoryId,
        Wrapped<List<FwStandardModelsSelectedCheckBoxListItem>?>? statuses,
        Wrapped<String?>? userDepartmentId,
        Wrapped<String?>? userLocationId,
        Wrapped<String?>? userWarehouseId,
        Wrapped<String?>? customReportLayoutId,
        Wrapped<bool?>? isSummary,
        Wrapped<bool?>? includeSubHeadingsAndSubTotals,
        Wrapped<bool?>? includeIdColumns,
        Wrapped<String?>? locale,
        Wrapped<List<FwStandardModelsCheckBoxListItem>?>? excelfields,
        Wrapped<String?>? reportName,
        Wrapped<bool?>? useEmailTemplate}) {
  return WebApiModulesReportsMultiLocationReportsTransferReportTransferReportRequest(
      fromDate: (fromDate != null ? fromDate.value : this.fromDate),
      toDate: (toDate != null ? toDate.value : this.toDate),
      dateType: (dateType != null ? dateType.value : this.dateType),
      fromWarehouseId: (fromWarehouseId != null
          ? fromWarehouseId.value
          : this.fromWarehouseId),
      toWarehouseId:
          (toWarehouseId != null ? toWarehouseId.value : this.toWarehouseId),
      departmentId:
          (departmentId != null ? departmentId.value : this.departmentId),
      transferId: (transferId != null ? transferId.value : this.transferId),
      inventoryTypeId: (inventoryTypeId != null
          ? inventoryTypeId.value
          : this.inventoryTypeId),
      categoryId: (categoryId != null ? categoryId.value : this.categoryId),
      subCategoryId:
          (subCategoryId != null ? subCategoryId.value : this.subCategoryId),
      inventoryId:
          (inventoryId != null ? inventoryId.value : this.inventoryId),
      statuses: (statuses != null ? statuses.value : this.statuses),
      userDepartmentId: (userDepartmentId != null
          ? userDepartmentId.value
          : this.userDepartmentId),
      userLocationId: (userLocationId != null
          ? userLocationId.value
          : this.userLocationId),
      userWarehouseId: (userWarehouseId != null
          ? userWarehouseId.value
          : this.userWarehouseId),
      customReportLayoutId: (customReportLayoutId != null
          ? customReportLayoutId.value
          : this.customReportLayoutId),
      isSummary: (isSummary != null ? isSummary.value : this.isSummary),
      includeSubHeadingsAndSubTotals: (includeSubHeadingsAndSubTotals != null
          ? includeSubHeadingsAndSubTotals.value
          : this.includeSubHeadingsAndSubTotals),
      includeIdColumns: (includeIdColumns != null
          ? includeIdColumns.value
          : this.includeIdColumns),
      locale: (locale != null ? locale.value : this.locale),
      excelfields:
          (excelfields != null ? excelfields.value : this.excelfields),
      reportName: (reportName != null ? reportName.value : this.reportName),
      useEmailTemplate: (useEmailTemplate != null
          ? useEmailTemplate.value
          : this.useEmailTemplate));
}