copyWithWrapped method

WebApiDataAppReportResponse copyWithWrapped({
  1. Wrapped<FwStandardSqlServerFwJsonDataTable?>? dataTable,
  2. Wrapped<FwStandardDataFwReportLoader?>? dataObject,
  3. Wrapped<String?>? printDate,
  4. Wrapped<String?>? printTime,
  5. Wrapped<String?>? printDateTime,
  6. Wrapped<String?>? customReportTemplate,
  7. Wrapped<List<FwStandardModulesAdministratorCustomReportCssCustomReportCssLoader>?>? globalCssRules,
  8. Wrapped<String?>? globalStyle,
  9. Wrapped<String?>? emailTemplate,
})

Implementation

WebApiDataAppReportResponse copyWithWrapped(
    {Wrapped<FwStandardSqlServerFwJsonDataTable?>? dataTable,
    Wrapped<FwStandardDataFwReportLoader?>? dataObject,
    Wrapped<String?>? printDate,
    Wrapped<String?>? printTime,
    Wrapped<String?>? printDateTime,
    Wrapped<String?>? customReportTemplate,
    Wrapped<
            List<
                FwStandardModulesAdministratorCustomReportCssCustomReportCssLoader>?>?
        globalCssRules,
    Wrapped<String?>? globalStyle,
    Wrapped<String?>? emailTemplate}) {
  return WebApiDataAppReportResponse(
      dataTable: (dataTable != null ? dataTable.value : this.dataTable),
      dataObject: (dataObject != null ? dataObject.value : this.dataObject),
      printDate: (printDate != null ? printDate.value : this.printDate),
      printTime: (printTime != null ? printTime.value : this.printTime),
      printDateTime:
          (printDateTime != null ? printDateTime.value : this.printDateTime),
      customReportTemplate: (customReportTemplate != null
          ? customReportTemplate.value
          : this.customReportTemplate),
      globalCssRules: (globalCssRules != null
          ? globalCssRules.value
          : this.globalCssRules),
      globalStyle:
          (globalStyle != null ? globalStyle.value : this.globalStyle),
      emailTemplate:
          (emailTemplate != null ? emailTemplate.value : this.emailTemplate));
}