copyWithWrapped method

WebApiModulesReportsCrewReportsCrewSignInReportCrewSignInReportRequest copyWithWrapped({
  1. Wrapped<DateTime?>? fromDate,
  2. Wrapped<DateTime?>? toDate,
  3. Wrapped<String?>? officeLocationId,
  4. Wrapped<String?>? departmentId,
  5. Wrapped<String?>? customerId,
  6. Wrapped<String?>? dealId,
  7. Wrapped<String?>? orderId,
  8. Wrapped<String?>? userDepartmentId,
  9. Wrapped<String?>? userLocationId,
  10. Wrapped<String?>? userWarehouseId,
  11. Wrapped<String?>? customReportLayoutId,
  12. Wrapped<bool?>? isSummary,
  13. Wrapped<bool?>? includeSubHeadingsAndSubTotals,
  14. Wrapped<bool?>? includeIdColumns,
  15. Wrapped<String?>? locale,
  16. Wrapped<List<FwStandardModelsCheckBoxListItem>?>? excelfields,
  17. Wrapped<String?>? reportName,
  18. Wrapped<bool?>? useEmailTemplate,
})

Implementation

WebApiModulesReportsCrewReportsCrewSignInReportCrewSignInReportRequest
    copyWithWrapped(
        {Wrapped<DateTime?>? fromDate,
        Wrapped<DateTime?>? toDate,
        Wrapped<String?>? officeLocationId,
        Wrapped<String?>? departmentId,
        Wrapped<String?>? customerId,
        Wrapped<String?>? dealId,
        Wrapped<String?>? orderId,
        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 WebApiModulesReportsCrewReportsCrewSignInReportCrewSignInReportRequest(
      fromDate: (fromDate != null ? fromDate.value : this.fromDate),
      toDate: (toDate != null ? toDate.value : this.toDate),
      officeLocationId: (officeLocationId != null
          ? officeLocationId.value
          : this.officeLocationId),
      departmentId:
          (departmentId != null ? departmentId.value : this.departmentId),
      customerId: (customerId != null ? customerId.value : this.customerId),
      dealId: (dealId != null ? dealId.value : this.dealId),
      orderId: (orderId != null ? orderId.value : this.orderId),
      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));
}