copyWithWrapped method

WebApiModulesReportsOrderReportsQuikActivityReportQuikActivityReportRequest copyWithWrapped({
  1. Wrapped<DateTime?>? fromDate,
  2. Wrapped<DateTime?>? toDate,
  3. Wrapped<List<FwStandardModelsSelectedCheckBoxListItem>?>? orderType,
  4. Wrapped<String?>? warehouseId,
  5. Wrapped<String?>? departmentId,
  6. Wrapped<String?>? activityTypeId,
  7. Wrapped<String?>? inventoryTypeId,
  8. Wrapped<String?>? agentId,
  9. Wrapped<String?>? dealId,
  10. Wrapped<bool?>? includeCompleted,
  11. Wrapped<String?>? userDepartmentId,
  12. Wrapped<String?>? userLocationId,
  13. Wrapped<String?>? userWarehouseId,
  14. Wrapped<String?>? customReportLayoutId,
  15. Wrapped<bool?>? isSummary,
  16. Wrapped<bool?>? includeSubHeadingsAndSubTotals,
  17. Wrapped<bool?>? includeIdColumns,
  18. Wrapped<String?>? locale,
  19. Wrapped<List<FwStandardModelsCheckBoxListItem>?>? excelfields,
  20. Wrapped<String?>? reportName,
  21. Wrapped<bool?>? useEmailTemplate,
})

Implementation

WebApiModulesReportsOrderReportsQuikActivityReportQuikActivityReportRequest
copyWithWrapped({
  Wrapped<DateTime?>? fromDate,
  Wrapped<DateTime?>? toDate,
  Wrapped<List<FwStandardModelsSelectedCheckBoxListItem>?>? orderType,
  Wrapped<String?>? warehouseId,
  Wrapped<String?>? departmentId,
  Wrapped<String?>? activityTypeId,
  Wrapped<String?>? inventoryTypeId,
  Wrapped<String?>? agentId,
  Wrapped<String?>? dealId,
  Wrapped<bool?>? includeCompleted,
  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 WebApiModulesReportsOrderReportsQuikActivityReportQuikActivityReportRequest(
    fromDate: (fromDate != null ? fromDate.value : this.fromDate),
    toDate: (toDate != null ? toDate.value : this.toDate),
    orderType: (orderType != null ? orderType.value : this.orderType),
    warehouseId: (warehouseId != null ? warehouseId.value : this.warehouseId),
    departmentId: (departmentId != null
        ? departmentId.value
        : this.departmentId),
    activityTypeId: (activityTypeId != null
        ? activityTypeId.value
        : this.activityTypeId),
    inventoryTypeId: (inventoryTypeId != null
        ? inventoryTypeId.value
        : this.inventoryTypeId),
    agentId: (agentId != null ? agentId.value : this.agentId),
    dealId: (dealId != null ? dealId.value : this.dealId),
    includeCompleted: (includeCompleted != null
        ? includeCompleted.value
        : this.includeCompleted),
    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),
  );
}