copyWithWrapped method
WebApiDataAppReportResponse
copyWithWrapped({
- Wrapped<
FwStandardSqlServerFwJsonDataTable?> ? dataTable, - Wrapped<
FwStandardDataFwReportLoader?> ? dataObject, - Wrapped<
String?> ? printDate, - Wrapped<
String?> ? printTime, - Wrapped<
String?> ? printDateTime, - Wrapped<
String?> ? customReportTemplate, - Wrapped<
List< ? globalCssRules,FwStandardModulesAdministratorCustomReportCssCustomReportCssLoader> ?> - Wrapped<
String?> ? globalStyle, - 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));
}