copyWithWrapped method

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

Implementation

WebApiModulesReportsTransferFixedAssetOwnershipReportTransferFixedAssetOwnershipReportRequest
copyWithWrapped({
  Wrapped<DateTime?>? fromDate,
  Wrapped<DateTime?>? toDate,
  Wrapped<String?>? fromWarehouseId,
  Wrapped<String?>? toWarehouseId,
  Wrapped<String?>? transferId,
  Wrapped<String?>? inventoryTypeId,
  Wrapped<String?>? categoryId,
  Wrapped<String?>? inventoryId,
  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 WebApiModulesReportsTransferFixedAssetOwnershipReportTransferFixedAssetOwnershipReportRequest(
    fromDate: (fromDate != null ? fromDate.value : this.fromDate),
    toDate: (toDate != null ? toDate.value : this.toDate),
    fromWarehouseId: (fromWarehouseId != null
        ? fromWarehouseId.value
        : this.fromWarehouseId),
    toWarehouseId: (toWarehouseId != null
        ? toWarehouseId.value
        : this.toWarehouseId),
    transferId: (transferId != null ? transferId.value : this.transferId),
    inventoryTypeId: (inventoryTypeId != null
        ? inventoryTypeId.value
        : this.inventoryTypeId),
    categoryId: (categoryId != null ? categoryId.value : this.categoryId),
    inventoryId: (inventoryId != null ? inventoryId.value : this.inventoryId),
    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),
  );
}